Server hangs after 502 request

Server hangs after 502 request

am 24.10.2009 09:39:20 von Rolf Schaufelberger

Hi,

I have a server running, configured with a lightweiht frontend apache
and a backend mod_perl apache.
Starting some weeks ago the server sometimes hangs with an out of
memory problem.
(Kernel panic, no killable process found )
I currently have no idea where that problems comes from, the numer of
backend apache is set to 15, so this should not be a problem.
Yet, what I'have found, that the last request logged in the frontend
aache log looks like :

"GET / HTTP/1.1" 502 465 "http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub -8011132902902466&format=fp_al_lp&output=html&h=15&w=728&lmt =1256317728&channel=0471980043%2B7740394182&ea=0&flash=10.0. 32.18&url=http%3A%2F%2Fwww.schulferien.org%2FBaden-Wurttemb_ %2Fbaden-wurttemb_.html&dt=1256317728847&correlator=12563177 28850&frm=0&ga_vid=795893907.1228664705&ga_sid=1256317729&ga _hid=250028746&ga_fc=1&u_tz=120&u_his=13&u_java=1&u_h=800&u_ w=1280&u_ah=770&u_aw=1280&u_cd=32&u_nplug=0&u_nmime=0&biw=12 76&bih=569&ref=http%3A%2F%2Fwww.google.de%2Fsearch%3Fhl%3Dde %26rlz%3D1T4SNYK_deDE295DE295%26q%3Dferien%2Bbaden%2Bw%25C3% 25BCrttemberg%2B2010%26meta%3D%26aq%3D2%26oq%3Dferien%2Bbade n%2B&fu=0&ifi=1&dtd=271&kw_type=radlink&prev_fmts=728x15_0ad s_al_s&rt=ChBK4eMkAAKqhwrMjcLbYhQ7Eg5KYWhyZXNrYWxlbmRlc
hoIyMwiMKeTu80oAVITCNvXmaHU050CFVGIzAodgFzQag&hl=de&kw0=Feri enkalender+NRW&kw1=Schulferien+2010&kw2=Jahreskalender&kw3=K alender+Hessen+2008&kw4=Kalender+Schulferien&okw=Jahreskalen der
" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0;
GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR
1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"

It always has googleads as referer with a very long refer string and
what das the 502 status mean?

Does anybody have some idea what is happening ?
Can I simulate this request with LWP ?


Rolf Schaufelberger

Re: Server hangs after 502 request

am 24.10.2009 12:13:40 von aw

Rolf Schaufelberger wrote:
>
> It always has googleads as referer with a very long refer string and
> what das the 502 status mean?
>
http://lmgtfy.com?q=http+status+502

Re: Server hangs after 502 request

am 25.10.2009 18:44:37 von Rolf Schaufelberger

Am 24.10.2009 um 12:13 schrieb Andr=E9 Warnier:

> Rolf Schaufelberger wrote:
>> It always has googleads as referer with a very long refer string =20
>> and what das the 502 status mean?
> http://lmgtfy.com?q=3Dhttp+status+502


Ok, I can read what's written there, but what does it mean ?
I still have no idea, what leads to that error. As far as I =20
understood this, my backend server send something else but no HTTP =20
message to the frontend server.
But why?

Rolf Schaufelberger

Re: Server hangs after 502 request

am 25.10.2009 19:36:21 von aw

Rolf Schaufelberger wrote:
>
> Am 24.10.2009 um 12:13 schrieb André Warnier:
>
>> Rolf Schaufelberger wrote:
>>> It always has googleads as referer with a very long refer string and
>>> what das the 502 status mean?
>> http://lmgtfy.com?q=http+status+502
>
>
> Ok, I can read what's written there, but what does it mean ?
> I still have no idea, what leads to that error. As far as I understood
> this, my backend server send something else but no HTTP message to the
> frontend server.
> But why?
>
Rolf,

502 Bad Gateway
The server was acting as a gateway or proxy and received an invalid
response from the downstream server.

It means that your front-end server received this request ("GET /"),
from some client, which apparently was at the time displaying a page
which itself had been obtained from the long link that you see in the
message. (It does not mean that the request itself came from a Google
server; it just means that on some page of Google somewhere, there is a
link that points to your site, and that someone clicked on it).

Now, we don't know what the configuration of your front-end and back-end
servers are, nor what is exactly proxied to your back-end server when
the front-end server receives a request for "/".
But the error code 502 that is in the log (see description above) seems
to indicate that your front-end server passed this request somehow to a
back-end server, and that it received an invalid response from the
back-end server.
Why that is, is also not known to us, and quite impossible to figure out
with the information you provided.

If I had to make a guess, I would say that the problem has nothing to do
with this request in particular, and that your front-end server is just
configured with too many children or threads, compared to the physical
memory it really has. So when many requests come in and it tries to
fork more children/threads to handle them, it runs out of memory.
Reducing MaxClients may be a first option.

About reproducing this access with LWP, sure :
lwp-request -m GET http://your-server-name/
but that is not going to tell you much.

Re: Server hangs after 502 request

am 25.10.2009 22:06:15 von Rolf Schaufelberger

Am 25.10.2009 um 19:36 schrieb Andr=E9 Warnier:

> Rolf Schaufelberger wrote:
>> Am 24.10.2009 um 12:13 schrieb Andr=E9 Warnier:
>>> Rolf Schaufelberger wrote:
>>>> It always has googleads as referer with a very long refer string =20=

>>>> and what das the 502 status mean?
>>> http://lmgtfy.com?q=3Dhttp+status+502
>> Ok, I can read what's written there, but what does it mean ?
>> I still have no idea, what leads to that error. As far as I =20
>> understood this, my backend server send something else but no HTTP =20=

>> message to the frontend server.
>> But why?
> Rolf,
>
> 502 Bad Gateway
> The server was acting as a gateway or proxy and received an =20
> invalid response from the downstream server.
>
> It means that your front-end server received this request ("GET /"), =20=

> from some client, which apparently was at the time displaying a page =20=

> which itself had been obtained from the long link that you see in =20
> the message. (It does not mean that the request itself came from a =20
> Google server; it just means that on some page of Google somewhere, =20=

> there is a link that points to your site, and that someone clicked =20
> on it).
>
> Now, we don't know what the configuration of your front-end and back-=20=

> end servers are, nor what is exactly proxied to your back-end server =20=

> when the front-end server receives a request for "/".
> But the error code 502 that is in the log (see description above) =20
> seems to indicate that your front-end server passed this request =20
> somehow to a back-end server, and that it received an invalid =20
> response from the back-end server.
> Why that is, is also not known to us, and quite impossible to figure =20=

> out with the information you provided.
>
So far I agree, and a request to / is just normal and handed over =20
to the backend server.


> If I had to make a guess, I would say that the problem has nothing =20
> to do with this request in particular, and that your front-end =20
> server is just configured with too many children or threads, =20
> compared to the physical memory it really has. So when many =20
> requests come in and it tries to fork more children/threads to =20
> handle them, it runs out of memory.
> Reducing MaxClients may be a first option.
>

I've already dona this, the MaxClients for the backend ist set to 10 =20
and there is not much traffic on that server. I had another server =20
running with 200 frontend and 30 backendserver with much less RAM. =20
Actually I don't even know for sure, if apache is causing these =20
problems, It's just the only thing running there,( tha database runs =20=

on another server).
I' just desperately searching for anything that couses thtes problems.


> About reproducing this access with LWP, sure :
> lwp-request -m GET http://your-server-name/
> but that is not going to tell you much.

Of course, but what I meant was, can I tell LWP to pass the same =20
referer string I found in my logfile, to simultate exactly that =20
request ?

Rolf Schaufelberger

Re: Server hangs after 502 request

am 25.10.2009 22:46:46 von aw

Rolf Schaufelberger wrote:
....

> Of course, but what I meant was, can I tell LWP to pass the same
> referer string I found in my logfile, to simultate exactly that request ?
>
I'm sure you can. That "referrer" is just a HTTP header ("Referer:"
with only one r I think), and LWP allows you to add headers to the request.
lwp-request -h

I doubt this will help you however. If you examine your access log, you
probably have lots of such kinds of request, which do not necessarily
bring down your server.

Maybe an easier way :
- on one of your servers (suppose it is called
"yourserver.yourcompany.com"), create a really long path under the
document root and put a html page in it.
Like :
/var/www/htdocs/some/very/long/path/to/a/document/page.html
- in that html page, put a link to your front-end server
- call up that page in a browser, and click on the link.
- then look in your access log

The browser, when you click on the link in the page, sends a request to
your front-end server.
In that request, it will add a header :
Referer:
http://yourserver.yourcompany.com/some/very/long/path/to/a/d ocument/page.html

That's what you see in the log.

Re: Server hangs after 502 request

am 26.10.2009 12:12:40 von torsten.foertsch

On Sat 24 Oct 2009, Rolf Schaufelberger wrote:
> Starting some weeks ago the server sometimes hangs with an out of =A0
> memory problem.

Assuming you are running on linux the following sysctls may help to find=20
the culprit.

vm.overcommit_memory=3D2
vm.overcommit_ratio=3D90

By default (overcommit_memory=3D0) when a process needs more memory linux=20
simply says "okay here you are" no matter if the memory is currently=20
available or not. This is based on the assumption that most processes=20
do not use all memory they allocate at all. Later on, when the process=20
really accesses the memory a page fault is generated and linux only=20
then allocates the memory for the process. But now it is too late to=20
signal the process out-of-memory. So, linux somehow has to obtain=20
memory no matter what. So, in short-of-memory conditions linux starts=20
the OOM killer. It implements some heuristic that chooses some "best=20
fitting" processes to be killed. These "best fitting" processes may be=20
totally unrelated to the original problem.

I had once a case where a perl program processed mailbox files (using=20
Mail::Box) on a box where a postgres database ran. Unfortunately=20
Mail::Box reads in the whole mailbox file. Normally our mailbox files=20
were about 1-10mb and the program had worked for years. But suddenly we=20
had one of >1Gb. Instead of signaling out-of-memory to the perl process=20
linux killed the postgres database.

Make sure you have enough swap space (at least the RAM size) before=20
experimenting with those sysctls.

Torsten

=2D-=20
Need professional mod_perl support?
Just hire me: torsten.foertsch@gmx.net

Re: Server hangs after 502 request

am 26.10.2009 13:15:55 von Rolf Schaufelberger

Hi, Tortsen,


Am 26.10.2009 um 12:12 schrieb Torsten Foertsch:

> On Sat 24 Oct 2009, Rolf Schaufelberger wrote:
>> Starting some weeks ago the server sometimes hangs with an out of
>> memory problem.
>
> Assuming you are running on linux the following sysctls may help to =20=

> find
> the culprit.
>
> vm.overcommit_memory=3D2
> vm.overcommit_ratio=3D90
>

how about setting PERL_RLIMIT_DATA ?
see (http://perl.apache.org/docs/2.0/api/Apache2/Resource.html)

Would that work ?




> By default (overcommit_memory=3D0) when a process needs more memory =20=

> linux
> simply says "okay here you are" no matter if the memory is currently
> available or not. This is based on the assumption that most processes
> do not use all memory they allocate at all. Later on, when the process
> really accesses the memory a page fault is generated and linux only
> then allocates the memory for the process. But now it is too late to
> signal the process out-of-memory. So, linux somehow has to obtain
> memory no matter what. So, in short-of-memory conditions linux starts
> the OOM killer. It implements some heuristic that chooses some "best
> fitting" processes to be killed. These "best fitting" processes may be
> totally unrelated to the original problem.
>
> I had once a case where a perl program processed mailbox files (using
> Mail::Box) on a box where a postgres database ran. Unfortunately
> Mail::Box reads in the whole mailbox file. Normally our mailbox files
> were about 1-10mb and the program had worked for years. But suddenly =20=

> we
> had one of >1Gb. Instead of signaling out-of-memory to the perl =20
> process
> linux killed the postgres database.
>
> Make sure you have enough swap space (at least the RAM size) before
> experimenting with those sysctls.
>
> Torsten
>
> --=20
> Need professional mod_perl support?
> Just hire me: torsten.foertsch@gmx.net

Mit freundlichen Grüßen
Rolf Schaufelberger

plusW GmbH
Stuttgarter Str. 26 Tel. 07183 30 21 36
73635 Rudersberg Fax 07183 30 21 85

www.plusw.de
www.mypixler.com
www.calendrino.de

mod-perl child process

am 27.10.2009 13:33:19 von Raja.Kulasekaran

Hi,

I have configured the mod_perl with oracle persistent connection through =
Apache::DBI module. On every web page request It creates a process=20
something like below and It never be killed automatically when the =
request has completed.=20

Can you please suggest me how to do I handle this scenario ?.=20

oracle 8021 1 0 17:51 ? 00:00:01 oracleXE (LOCAL=3DNO)
oracle 8038 1 0 17:51 ? 00:00:00 oracleXE (LOCAL=3DNO)
oracle 8050 1 0 17:51 ? 00:00:01 oracleXE (LOCAL=3DNO)
oracle 8068 1 0 17:52 ? 00:00:00 oracleXE (LOCAL=3DNO)

Thanks,
Raja=20



-----Original Message-----
From: Andr=E9 Warnier [mailto:aw@ice-sa.com]=20
Sent: Monday, October 26, 2009 3:17 AM
To: modperl@perl.apache.org
Subject: Re: Server hangs after 502 request

Rolf Schaufelberger wrote:
....

> Of course, but what I meant was, can I tell LWP to pass the same =20
> referer string I found in my logfile, to simultate exactly that =
request ?
>=20
I'm sure you can. That "referrer" is just a HTTP header ("Referer:"=20
with only one r I think), and LWP allows you to add headers to the =
request.
lwp-request -h

I doubt this will help you however. If you examine your access log, you =

probably have lots of such kinds of request, which do not necessarily=20
bring down your server.

Maybe an easier way :
- on one of your servers (suppose it is called=20
"yourserver.yourcompany.com"), create a really long path under the=20
document root and put a html page in it.
Like :
/var/www/htdocs/some/very/long/path/to/a/document/page.html
- in that html page, put a link to your front-end server
- call up that page in a browser, and click on the link.
- then look in your access log

The browser, when you click on the link in the page, sends a request to=20
your front-end server.
In that request, it will add a header :
Referer:=20
http://yourserver.yourcompany.com/some/very/long/path/to/a/d ocument/page.=
html

That's what you see in the log.

Re: mod-perl child process

am 27.10.2009 19:17:25 von Perrin Harkins

On Tue, Oct 27, 2009 at 8:33 AM, Kulasekaran, Raja
wrote:
> I have configured the mod_perl with oracle persistent connection through Apache::DBI module. On every web page request It creates a process
> something like below and It never be killed automatically when the request has completed.

That is the intended behavior. You should get one Oracle connection
for each apache child process. They will stay connected for the life
of the process.

- Perrin

FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 28.10.2009 04:04:35 von Joe Niederberger

Hello,

Does anyone have the combination of FreeBSD 7.2, Apache2.2, mod_perl2
and libapreq2 all installed and working fine?

My web-hoster is having exterme difficulties getting this set up. The
Apache2.so is
rife with undefined symbols that they cannot resolve. Simply making a call
to the cookie jar and the process segfaults.

Any help most appreciated.
Thanks in advance.

Joe Niederberger

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 28.10.2009 04:16:04 von Joe Niederberger

Oh - the perl version is 5.8.9 -


----- Original Message -----
From: "Joe Niederberger"
To: "mod_perl list"
Sent: Tuesday, October 27, 2009 10:04 PM
Subject: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


> Hello,
>
> Does anyone have the combination of FreeBSD 7.2, Apache2.2, mod_perl2
> and libapreq2 all installed and working fine?
>
> My web-hoster is having exterme difficulties getting this set up. The
> Apache2.so is
> rife with undefined symbols that they cannot resolve. Simply making a call
> to the cookie jar and the process segfaults.
>
> Any help most appreciated.
> Thanks in advance.
>
> Joe Niederberger
>

RE: mod-perl child process

am 28.10.2009 05:32:27 von Raja.Kulasekaran

So, How to I control this ?. Is it possible to reuse the existing
connection ?.=20

Raja=20

-----Original Message-----
From: Perrin Harkins [mailto:pharkins@gmail.com]=20
Sent: Tuesday, October 27, 2009 11:47 PM
To: Kulasekaran, Raja
Cc: mod_perl list
Subject: Re: mod-perl child process

On Tue, Oct 27, 2009 at 8:33 AM, Kulasekaran, Raja
wrote:
> I have configured the mod_perl with oracle persistent connection
through Apache::DBI module. On every web page request It creates a
process
> something like below and It never be killed automatically when the
request has completed.

That is the intended behavior. You should get one Oracle connection
for each apache child process. They will stay connected for the life
of the process.

- Perrin

Re: mod-perl child process

am 28.10.2009 17:02:14 von Perrin Harkins

On Wed, Oct 28, 2009 at 12:32 AM, Kulasekaran, Raja
wrote:
> So, How to I control this ?. Is it possible to reuse the existing
> connection ?.

It should be doing that already. Each process will open one
connection and keep it open (unless you use different connection
parameters, like a different login), reusing it each time. What you
can't do is share a single connection between multiple processes.

If the number of connections to Oracle is a problem for you, there are
several tools out there that can help. You'll find discussion of them
in the mailing list archives. The first thing to do is make sure you
have a proxy in front of your mod_perl server.

- Perrin

RE: mod-perl child process

am 29.10.2009 15:05:37 von Raja.Kulasekaran

Hi,

The below method used to kill the child process after the successful
execution of web request.=20

$r->child_terminate();

How do I get the status that particular child process has been killed ?.
Any suggestion on this ?

Raja=20

-----Original Message-----
From: Kulasekaran, Raja=20
Sent: Wednesday, October 28, 2009 10:02 AM
To: Perrin Harkins
Cc: mod_perl list
Subject: RE: mod-perl child process


So, How to I control this ?. Is it possible to reuse the existing
connection ?.=20

Raja=20

-----Original Message-----
From: Perrin Harkins [mailto:pharkins@gmail.com]=20
Sent: Tuesday, October 27, 2009 11:47 PM
To: Kulasekaran, Raja
Cc: mod_perl list
Subject: Re: mod-perl child process

On Tue, Oct 27, 2009 at 8:33 AM, Kulasekaran, Raja
wrote:
> I have configured the mod_perl with oracle persistent connection
through Apache::DBI module. On every web page request It creates a
process
> something like below and It never be killed automatically when the
request has completed.

That is the intended behavior. You should get one Oracle connection
for each apache child process. They will stay connected for the life
of the process.

- Perrin

Re: mod-perl child process

am 29.10.2009 15:48:05 von Perrin Harkins

On Thu, Oct 29, 2009 at 10:05 AM, Kulasekaran, Raja
wrote:
> How do I get the status that particular child process has been killed ?

Are you talking about the exit status of the process? You can't get
that. What are you trying to do?

- Perrin

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 29.10.2009 16:22:05 von sin

Hello,


Few weeks back I joined this mailling list to find out about this myself.
I've been trying to get apache 2.x and mod_perl2 to run together for many
many months now. My target application was OTRS. I've seen apache2 and
mod_perl2 work with Debian no problem. I figured I was doing something
wrong. I'm not so sure i'm in the wrong at this point after following all
readme files to the letter.


I've gone back to using apache-1.3.41_1 / mod_perl-1.31_1


Seems like all versions of 1.3 work for the past years, but apache 2 just
doesn't want to interface with the application. Its there, installs, but
doesn't work. Log files never come up with anything to point to.

This apache 2.x and mod_perl2 failed on FreeBSD 6 and 7. Haven't tried 8
yet.

----- Original Message -----
From: "Joe Niederberger"
To: "mod_perl list"
Sent: Tuesday, October 27, 2009 11:04 PM
Subject: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


> Hello,
>
> Does anyone have the combination of FreeBSD 7.2, Apache2.2, mod_perl2
> and libapreq2 all installed and working fine?
>
> My web-hoster is having exterme difficulties getting this set up. The
> Apache2.so is
> rife with undefined symbols that they cannot resolve. Simply making a call
> to the cookie jar and the process segfaults.
>
> Any help most appreciated.
> Thanks in advance.
>
> Joe Niederberger
>
>

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 29.10.2009 17:03:04 von Joe Niederberger

Should I conclude nobody is running mod_perl2 on the
latest version of FreeBSD?


----- Original Message -----
From: "Joe Niederberger"
To: "mod_perl list"
Sent: Tuesday, October 27, 2009 10:04 PM
Subject: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


> Hello,
>
> Does anyone have the combination of FreeBSD 7.2, Apache2.2, mod_perl2
> and libapreq2 all installed and working fine?
>
> My web-hoster is having exterme difficulties getting this set up. The
> Apache2.so is
> rife with undefined symbols that they cannot resolve. Simply making a call
> to the cookie jar and the process segfaults.
>
> Any help most appreciated.
> Thanks in advance.
>
> Joe Niederberger
>

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 29.10.2009 17:31:45 von aw

Joe Niederberger wrote:
> Sadly, has the signs of a not-well technology.
> Anyone have opinions on a way forward?
> Is the answer Linux?
>
I have no idea about FreeBSD, but I am using Apache 2.0 & 2.2, with
mod_perl 2.x, on quite a lot of Linux (Debian, Suse, RedHat) systems,
with a lot of satisfaction and very few problems (and the few there are
generally turn out to be in my code, not in mod_perl).

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 29.10.2009 17:38:58 von Craig MacKenna

Mr. Sin, I can't tell from your email exactly what isn't working
for you, so will assume that you have similar problems as Mr. N.
From my experience, the problem may be FreeBSD + libapreq2 2.12.

My site runs FreeBSD 6.3. I could not get libapreq2 2.12
and associated Perl linkages (mod_apreq2-20090110/2.7.1) to
build from source and pass. The author kept wanting more
data about failures, and I'm ashamed to say I stopped
answering his requests (it was a bad week).

But I did get the package to install from the FreeBSD ports
collection, using the following commands:

cd /ports/www/libapreq2 # your ports path may be different
sudo make clean
sudo make install WITH_MODPERL2=yes FORCE_PKG_REGISTER=yes

The ports version notes document the included patch that's
needed for FreeBSD. It has been working fine for months.

Hope this works for either or both of you.

Best of luck,
cmac


On Oct 29, 2009, at 8:22 AM, Sin wrote:

> Hello,
>
> Few weeks back I joined this mailing list to find out about this
> myself. I've been trying to get apache 2.x and mod_perl2 to run
> together for many many months now. My target application was
> OTRS. I've seen apache2 and mod_perl2 work with Debian no
> problem. I figured I was doing something wrong. I'm not so sure
> i'm in the wrong at this point after following all readme files to
> the letter.
>
> I've gone back to using apache-1.3.41_1 / mod_perl-1.31_1
>
> Seems like all versions of 1.3 work for the past years, but apache
> 2 just doesn't want to interface with the application. Its there,
> installs, but doesn't work. Log files never come up with anything
> to point to.
>
> This apache 2.x and mod_perl2 failed on FreeBSD 6 and 7. Haven't
> tried 8 yet.
>
> ----- Original Message ----- From: "Joe Niederberger"
>
> To: "mod_perl list"
> Sent: Tuesday, October 27, 2009 11:04 PM
> Subject: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
>
>> Hello,
>>
>> Does anyone have the combination of FreeBSD 7.2, Apache2.2, mod_perl2
>> and libapreq2 all installed and working fine?
>>
>> My web-hoster is having exterme difficulties getting this set up. The
>> Apache2.so is
>> rife with undefined symbols that they cannot resolve. Simply
>> making a call
>> to the cookie jar and the process segfaults.
>>
>> Any help most appreciated.
>> Thanks in advance.
>>
>> Joe Niederberger
>>

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 29.10.2009 17:41:28 von Devin Teske

Running Apache 2.2.13 with mod_perl 2.0.4 and other sundry pieces on
FreeBSD-4.11.

Here's my compile notes (sorry if it's a little lengthy, just
copy/pasted to minimize time spent on this):




Paste:

The Apache HTTP Server Project is an effort to develop and maintain an
open-source HTTP server for various modern desktop and server operating
systems, such as UNIX and Windows NT. The goal of this project is to
provide a secure, efficient and extensible server which provides HTTP
services in sync with the current HTTP standards.
The 2.x branch of Apache Web Server includes several improvements like
threading, use of APR, native IPv6 and SSL support, and many more.

WWW: http://httpd.apache.org/

==================== =====3D=
==================== =====3D=
==================== =====3D=
=====3DCOMPILE NOTES:

Initial source tarball:
http://apache.downlod.in/httpd/httpd-2.2.13.tar.gz

In addition to the intial source archive, you will need to have the followi=
ng
packages installed on your system to successfully compile apache:

expat-1.x.x
libiconv-1.x.x
openldap-client-2.2.x

NOTE: The above packages are not required during run-time.

Complete the following steps to compile and install apache:

1. cd ~/
2. fetch http://apache.downlod.in/httpd/httpd-2.2.13.tar.gz
3. tar zxvf httpd-2.2.13.tar.gz
4. cd httpd-2.2.13
5. sr ln -s /usr/lib/libc_r.so /usr/local/lib/libdb1.so
6. ./configure \
--enable-threads \
--with-devrandom=3D/dev/urandom \
\
--with-ldap-include=3D/usr/local/include \
--with-ldap-lib=3D/usr/local/lib \
--with-ldap \
--with-dbm=3Ddb1 \
--with-berkeley-db=3D/usr/include:/usr/local/lib \
--enable-ndbm \
\
--with-included-apr \
--enable-authn-alias \
--enable-authnz-ldap \
--enable-cache \
--enable-disk-cache \
--enable-file-cache \
--enable-ldap \
--enable-mem-cache \
--enable-mods-shared=3Dall \
--enable-proxy \
--enable-ssl \
--enable-suexec \
2>&1 | tee configure.out
7. make 2>&1 | tee make.out

WARNING! If `/usr/local/apache2' already exists, move it out of the=
way
before executing the next command.

8. sr make install

If all of the above steps complete without error, your newly-built apache
distribution will be located at "/usr/local/apache2".

In the event that an error occurs, please mail the files "configure.out" an=
d
"make.out" respectively to the developers.

Also required, is mod_perl. To compile mod_perl you will need the following
packages installed:

perl-5.8.5

Then, follow these steps to compile and install mod_perl:

1. cd ~/
2. fetch http://perl.apache.org/dist/mod_perl-2.0-current.tar.gz
3. tar zxvf mod_perl-2.0-current.tar.gz
4. cd mod_perl-2.0.4
5. perl5.8.5 Makefile.PL MP_APXS=3D/usr/local/apache2/bin/apxs \
2>&1 | tee configure.out

WARNING! The symbolic-link `/usr/local/bin/perl' must point to
`/usr/local/bin/perl5.8.5' before executing the following
command. However, after the make process is complete, you
should make `/usr/local/bin/perl' point to `/usr/bin/perl'=
..

6. make 2>&1 | tee make.out

WARNING! If `/usr/local/lib/perl5/site_perl/5.8.5/mach' already exi=
sts,
make sure that you move it out of the way before executing=
the
next command. However, make sure to put it back when done =
(and
optionally perform the following command once-more if you =
also
need the current system to be updated for testing rather t=
han
just packing).

7. sr make install

--
Devin Teske


On Thu, 2009-10-29 at 17:31 +0100, André Warnier wrote:
> Joe Niederberger wrote:
> > Sadly, has the signs of a not-well technology.
> > Anyone have opinions on a way forward?
> > Is the answer Linux?
> >=20
> I have no idea about FreeBSD, but I am using Apache 2.0 & 2.2, with=20
> mod_perl 2.x, on quite a lot of Linux (Debian, Suse, RedHat) systems,=20
> with a lot of satisfaction and very few problems (and the few there are=20
> generally turn out to be in my code, not in mod_perl).
>=20
>=20

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 29.10.2009 17:53:51 von Devin Teske

Oops =3D)

Replace 'sr' with 'sudo' wherever encountered (corporate colloquialism).

As somebody else said recently on this very same thread, it's likely
that your problem is libapreq. And as they mentioned, the correct thing
to do would be to build it from the ports tree (otherwise compiled by-
hand with any modifications required to make it work on FreeBSD -- which
is what the ports tree does for you).

(shrug) Dunno, not using libapreq in our distribution. Besides libapreq,
I can't say that we've had any problems on FreeBSD at all (many
versions). Though there are some gotchas (for example, if you don't use
--with-devrandom configure option, then the FreeBSD system will
eventually cause HTTPS clients to hang as the system waits for more
entropy to be gathered for /dev/random (redefining to /dev/urandom
solves this problem).
--
Devin Teske



On Thu, 2009-10-29 at 09:41 -0700, Devin Teske wrote:
> Running Apache 2.2.13 with mod_perl 2.0.4 and other sundry pieces on
> FreeBSD-4.11.
>=20
> Here's my compile notes (sorry if it's a little lengthy, just
> copy/pasted to minimize time spent on this):
>=20
>=20
>=20
>=20
> Paste:
>=20
> The Apache HTTP Server Project is an effort to develop and maintain an
> open-source HTTP server for various modern desktop and server operating
> systems, such as UNIX and Windows NT. The goal of this project is to
> provide a secure, efficient and extensible server which provides HTTP
> services in sync with the current HTTP standards.
> The 2.x branch of Apache Web Server includes several improvements like
> threading, use of APR, native IPv6 and SSL support, and many more.
>=20
> WWW: http://httpd.apache.org/
>=20
> ==================== =====
==================== =====3D=
==================== =====3D=
======COMPILE NOTES:
>=20
> Initial source tarball:
> http://apache.downlod.in/httpd/httpd-2.2.13.tar.gz
>=20
> In addition to the intial source archive, you will need to have the follo=
wing
> packages installed on your system to successfully compile apache:
>=20
> expat-1.x.x
> libiconv-1.x.x
> openldap-client-2.2.x
>=20
> NOTE: The above packages are not required during run-time.
>=20
> Complete the following steps to compile and install apache:
>=20
> 1. cd ~/
> 2. fetch http://apache.downlod.in/httpd/httpd-2.2.13.tar.gz
> 3. tar zxvf httpd-2.2.13.tar.gz
> 4. cd httpd-2.2.13
> 5. sr ln -s /usr/lib/libc_r.so /usr/local/lib/libdb1.so
> 6. ./configure \
> --enable-threads \
> --with-devrandom=3D/dev/urandom \
> \
> --with-ldap-include=3D/usr/local/include \
> --with-ldap-lib=3D/usr/local/lib \
> --with-ldap \
> --with-dbm=3Ddb1 \
> --with-berkeley-db=3D/usr/include:/usr/local/lib \
> --enable-ndbm \
> \
> --with-included-apr \
> --enable-authn-alias \
> --enable-authnz-ldap \
> --enable-cache \
> --enable-disk-cache \
> --enable-file-cache \
> --enable-ldap \
> --enable-mem-cache \
> --enable-mods-shared=3Dall \
> --enable-proxy \
> --enable-ssl \
> --enable-suexec \
> 2>&1 | tee configure.out
> 7. make 2>&1 | tee make.out
>=20
> WARNING! If `/usr/local/apache2' already exists, move it out of t=
he way
> before executing the next command.
>=20
> 8. sr make install
>=20
> If all of the above steps complete without error, your newly-built apache
> distribution will be located at "/usr/local/apache2".
>=20
> In the event that an error occurs, please mail the files "configure.out" =
and
> "make.out" respectively to the developers.
>=20
> Also required, is mod_perl. To compile mod_perl you will need the followi=
ng
> packages installed:
>=20
> perl-5.8.5
>=20
> Then, follow these steps to compile and install mod_perl:
>=20
> 1. cd ~/
> 2. fetch http://perl.apache.org/dist/mod_perl-2.0-current.tar.gz
> 3. tar zxvf mod_perl-2.0-current.tar.gz
> 4. cd mod_perl-2.0.4
> 5. perl5.8.5 Makefile.PL MP_APXS=3D/usr/local/apache2/bin/apxs \
> 2>&1 | tee configure.out
>=20
> WARNING! The symbolic-link `/usr/local/bin/perl' must point to
> `/usr/local/bin/perl5.8.5' before executing the followin=
g
> command. However, after the make process is complete, yo=
u
> should make `/usr/local/bin/perl' point to `/usr/bin/per=
l'.
>=20
> 6. make 2>&1 | tee make.out
>=20
> WARNING! If `/usr/local/lib/perl5/site_perl/5.8.5/mach' already e=
xists,
> make sure that you move it out of the way before executi=
ng the
> next command. However, make sure to put it back when don=
e (and
> optionally perform the following command once-more if yo=
u also
> need the current system to be updated for testing rather=
than
> just packing).
>=20
> 7. sr make install
>=20
> --
> Devin Teske
>=20
>=20
> On Thu, 2009-10-29 at 17:31 +0100, André Warnier wrote:
> > Joe Niederberger wrote:
> > > Sadly, has the signs of a not-well technology.
> > > Anyone have opinions on a way forward?
> > > Is the answer Linux?
> > >=20
> > I have no idea about FreeBSD, but I am using Apache 2.0 & 2.2, with=20
> > mod_perl 2.x, on quite a lot of Linux (Debian, Suse, RedHat) systems,=20
> > with a lot of satisfaction and very few problems (and the few there are=
=20
> > generally turn out to be in my code, not in mod_perl).
> >=20
> >=20
>=20

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 29.10.2009 18:14:28 von Glenn Gallien

I've been using apache2/mod_perl2 on FreeBSD for years. Currently using
6.3 and 7.2. Installing from ports should work fine, but I prefer to
install separate versions of apache2 and mod_perl2 from source. Haven't
had a problem installing either of those in sometime. Installing
libapreq2 on FreeBSD requires some special options, like passing
--with-expat=/usr/local to configure and using gmake.

-Glenn
> Hello,
>
> Does anyone have the combination of FreeBSD 7.2, Apache2.2, mod_perl2
> and libapreq2 all installed and working fine?
>
> My web-hoster is having exterme difficulties getting this set up. The
> Apache2.so is
> rife with undefined symbols that they cannot resolve. Simply making a call
> to the cookie jar and the process segfaults.
>
> Any help most appreciated.
> Thanks in advance.
>
> Joe Niederberger
>
>

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 29.10.2009 18:25:33 von Joe Niederberger

Sadly, has the signs of a not-well technology.
Anyone have opinions on a way forward?
Is the answer Linux?

----- Original Message -----
From: "Sin"

>
> Few weeks back I joined this mailling list to find out about this myself.
> I've been trying to get apache 2.x and mod_perl2 to run together for many
> many months now. My target application was OTRS. I've seen apache2 and
> mod_perl2 work with Debian no problem. I figured I was doing something
> wrong. I'm not so sure i'm in the wrong at this point after following
all
> readme files to the letter.
>
>
> I've gone back to using apache-1.3.41_1 / mod_perl-1.31_1
>
>
> Seems like all versions of 1.3 work for the past years, but apache 2 just
> doesn't want to interface with the application. Its there, installs, but
> doesn't work. Log files never come up with anything to point to.
>
> This apache 2.x and mod_perl2 failed on FreeBSD 6 and 7. Haven't tried 8
> yet.

RE: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 29.10.2009 18:28:21 von dihnen

I have helped configure apache2 on versions of BSD - whether it's the lates=
t or not is not in my knowledge, as I was merely handed servers of relative=
newness and paid to make apache2/mod_perl run on them.

I just compiled from source with the packages in the BSD package system, co=
nfigured them, and went on with life. Which isn't much help, since I don't=
know if it's the version you're talking about or if I somehow dodged whate=
ver problem or method you're using to get binaries.

David


-----Original Message-----
From: Joe Niederberger [mailto:jniederberger@comcast.net]=20
Sent: Thursday, October 29, 2009 9:03 AM
To: Joe Niederberger; mod_perl list
Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Should I conclude nobody is running mod_perl2 on the
latest version of FreeBSD?


----- Original Message -----=20
From: "Joe Niederberger"
To: "mod_perl list"
Sent: Tuesday, October 27, 2009 10:04 PM
Subject: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


> Hello,
>
> Does anyone have the combination of FreeBSD 7.2, Apache2.2, mod_perl2
> and libapreq2 all installed and working fine?
>
> My web-hoster is having exterme difficulties getting this set up. The
> Apache2.so is
> rife with undefined symbols that they cannot resolve. Simply making a cal=
l
> to the cookie jar and the process segfaults.
>
> Any help most appreciated.
> Thanks in advance.
>
> Joe Niederberger
>

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 29.10.2009 18:57:10 von Glenn Gallien

These are the steps I use to install libapreq2.

# ./configure --with-apache2-apxs=/path/to/apache/apxs
--with-expat=/usr/local --enable-perl-glue
# gmake
# gmake test
# gmake install

Except for the --with-expat flag, this is what is in the INSTALL doc. If
you checkout from svn, run ./buildconf first.

It is best to compile everything with the same compiler and the same
version perl, otherwise you will likely have problems.

I hope that's of some help.

-Glenn



> How do I find out what *all* the special options needed are?
>
> Thanks,
> Joe N.
>
> ----- Original Message -----
> From:
> To: "mod_perl list"
> Sent: Thursday, October 29, 2009 12:14 PM
> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
>
>
>> I've been using apache2/mod_perl2 on FreeBSD for years. Currently using
>> 6.3 and 7.2. Installing from ports should work fine, but I prefer to
>> install separate versions of apache2 and mod_perl2 from source. Haven't
>> had a problem installing either of those in sometime. Installing
>> libapreq2 on FreeBSD requires some special options, like passing
>> --with-expat=/usr/local to configure and using gmake.
>>
>> -Glenn
>>
>
>


--

Glenn Gallien
Gallien Consulting, Inc.
www.gallien.net

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 29.10.2009 19:35:29 von Joe Niederberger

How do I find out what *all* the special options needed are?

Thanks,
Joe N.

----- Original Message -----
From:
To: "mod_perl list"
Sent: Thursday, October 29, 2009 12:14 PM
Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


> I've been using apache2/mod_perl2 on FreeBSD for years. Currently using
> 6.3 and 7.2. Installing from ports should work fine, but I prefer to
> install separate versions of apache2 and mod_perl2 from source. Haven't
> had a problem installing either of those in sometime. Installing
> libapreq2 on FreeBSD requires some special options, like passing
> --with-expat=/usr/local to configure and using gmake.
>
> -Glenn

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 29.10.2009 21:39:03 von Adam Prime

You guys might want to take a look at this thread on apreq-dev

http://marc.info/?t=124207659800007&r=1&w=2

Specifically the last couple of posts from pgollucci (who is a freebsd,
and mod_perl committer). If you can't get apreq2.12 to work, try 2.08.

Adam




Joe Niederberger wrote:
> How do I find out what *all* the special options needed are?
>
> Thanks,
> Joe N.
>
> ----- Original Message -----
> From:
> To: "mod_perl list"
> Sent: Thursday, October 29, 2009 12:14 PM
> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
>
>> I've been using apache2/mod_perl2 on FreeBSD for years. Currently using
>> 6.3 and 7.2. Installing from ports should work fine, but I prefer to
>> install separate versions of apache2 and mod_perl2 from source. Haven't
>> had a problem installing either of those in sometime. Installing
>> libapreq2 on FreeBSD requires some special options, like passing
>> --with-expat=/usr/local to configure and using gmake.
>>
>> -Glenn
>

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 30.10.2009 08:15:14 von Foo JH

Just a thought: is install ap22 + mp2 + libapreq2 via pkg_add -r an
option? That's what I normally do these days.


Adam Prime wrote:
> You guys might want to take a look at this thread on apreq-dev
>
> http://marc.info/?t=124207659800007&r=1&w=2
>
> Specifically the last couple of posts from pgollucci (who is a
> freebsd, and mod_perl committer). If you can't get apreq2.12 to work,
> try 2.08.
>
> Adam
>
>
>
>
> Joe Niederberger wrote:
>> How do I find out what *all* the special options needed are?
>>
>> Thanks,
>> Joe N.
>>
>> ----- Original Message ----- From:
>> To: "mod_perl list"
>> Sent: Thursday, October 29, 2009 12:14 PM
>> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>>
>>
>>> I've been using apache2/mod_perl2 on FreeBSD for years. Currently
>>> using 6.3 and 7.2. Installing from ports should work fine, but I
>>> prefer to install separate versions of apache2 and mod_perl2 from
>>> source. Haven't had a problem installing either of those in
>>> sometime. Installing libapreq2 on FreeBSD requires some special
>>> options, like passing --with-expat=/usr/local to configure and using
>>> gmake.
>>>
>>> -Glenn
>>
>

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 30.10.2009 17:28:53 von sin

pkg_add -r just goes to a package repository and gets a package version
thats allready complied for your distribution. So you can't build your
options.

However this apreq2.12 issue is interesting. I was going to try this
again. I went to build this port but make errored out with:

===> libapreq2-2.12_1 : Error from bsd.apache.mk. apache13 is installed (or
APACHE_PORT is defined) and port requires 2.0+.
*** Error code 1


But if you look at the port it says apache-1.3.41_1 is the build and run
dependency. So it should of built the port (because I just happen to have
apache 1.3 installed ). I'm wondering if all the times I tried to build
Apache2.x with mod_perl2 the application couldn't interface with it because
of a missing dependency.


I'm not a BSD expert but it looks like this port needs updating. Here's
the description in ports:



Port: libapreq2-2.12_1
Path: /usr/ports/www/libapreq2
Info: Generic Apache2 Request Library
Maint: skv@FreeBSD.org

B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 expat-2.0.1
gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1
perl-5.8.9_3

R-deps: apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3
WWW: http://httpd.apache.org/apreq/



Port: p5-libapreq2-2.12_1
Path: /usr/ports/www/p5-libapreq2
Info: Generic Apache2 Request Library
Maint: skv@FreeBSD.org

B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 expat-2.0.1
gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1
mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1
p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3

R-deps: apache-1.3.41_1 expat-2.0.1 mod_perl2-2.0.4_2,3
p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1
p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3
WWW: http://httpd.apache.org/apreq/


----- Original Message -----
From: "Foo JH"
To: "Adam Prime"
Cc: "Joe Niederberger" ; "mod_perl list"

Sent: Friday, October 30, 2009 3:15 AM
Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


> Just a thought: is install ap22 + mp2 + libapreq2 via pkg_add -r an
> option? That's what I normally do these days.
>
>
> Adam Prime wrote:
>> You guys might want to take a look at this thread on apreq-dev
>>
>> http://marc.info/?t=124207659800007&r=1&w=2
>>
>> Specifically the last couple of posts from pgollucci (who is a freebsd,
>> and mod_perl committer). If you can't get apreq2.12 to work, try 2.08.
>>
>> Adam
>>
>>
>>
>>
>> Joe Niederberger wrote:
>>> How do I find out what *all* the special options needed are?
>>>
>>> Thanks,
>>> Joe N.
>>>
>>> ----- Original Message ----- From:
>>> To: "mod_perl list"
>>> Sent: Thursday, October 29, 2009 12:14 PM
>>> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>>>
>>>
>>>> I've been using apache2/mod_perl2 on FreeBSD for years. Currently using
>>>> 6.3 and 7.2. Installing from ports should work fine, but I prefer to
>>>> install separate versions of apache2 and mod_perl2 from source. Haven't
>>>> had a problem installing either of those in sometime. Installing
>>>> libapreq2 on FreeBSD requires some special options, like
>>>> passing --with-expat=/usr/local to configure and using gmake.
>>>>
>>>> -Glenn
>>>
>>
>
>

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 30.10.2009 17:36:38 von metacyclic

--001485f94568ccda01047729a1da
Content-Type: text/plain; charset=ISO-8859-1

This may be completely unrelated, but I had similar headaches installing
libapreq2 on a 64 bit machine that had both 32 and 64 bit libs installed. I
had to uninstall the offending 32 bit libs (which I didn't need).

Do they have a similar setup?

Dimitri

On Fri, Oct 30, 2009 at 12:28 PM, Sin wrote:

> pkg_add -r just goes to a package repository and gets a package version
> thats allready complied for your distribution. So you can't build your
> options.
>
> However this apreq2.12 issue is interesting. I was going to try this
> again. I went to build this port but make errored out with:
>
> ===> libapreq2-2.12_1 : Error from bsd.apache.mk. apache13 is installed
> (or APACHE_PORT is defined) and port requires 2.0+.
> *** Error code 1
>
>
> But if you look at the port it says apache-1.3.41_1 is the build and run
> dependency. So it should of built the port (because I just happen to have
> apache 1.3 installed ). I'm wondering if all the times I tried to build
> Apache2.x with mod_perl2 the application couldn't interface with it because
> of a missing dependency.
>
>
> I'm not a BSD expert but it looks like this port needs updating. Here's
> the description in ports:
>
>
>
> Port: libapreq2-2.12_1
> Path: /usr/ports/www/libapreq2
> Info: Generic Apache2 Request Library
> Maint: skv@FreeBSD.org
>
> B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 expat-2.0.1
> gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1
> perl-5.8.9_3
>
> R-deps: apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3
> WWW: http://httpd.apache.org/apreq/
>
>
>
> Port: p5-libapreq2-2.12_1
> Path: /usr/ports/www/p5-libapreq2
> Info: Generic Apache2 Request Library
> Maint: skv@FreeBSD.org
>
> B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 expat-2.0.1
> gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1
> mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1
> p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3
>
> R-deps: apache-1.3.41_1 expat-2.0.1 mod_perl2-2.0.4_2,3
> p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1
> p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3
> WWW: http://httpd.apache.org/apreq/
>
>
> ----- Original Message ----- From: "Foo JH"
> To: "Adam Prime"
> Cc: "Joe Niederberger" ; "mod_perl list" <
> modperl@perl.apache.org>
> Sent: Friday, October 30, 2009 3:15 AM
>
> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
>
> Just a thought: is install ap22 + mp2 + libapreq2 via pkg_add -r an
>> option? That's what I normally do these days.
>>
>>
>> Adam Prime wrote:
>>
>>> You guys might want to take a look at this thread on apreq-dev
>>>
>>> http://marc.info/?t=124207659800007&r=1&w=2
>>>
>>> Specifically the last couple of posts from pgollucci (who is a freebsd,
>>> and mod_perl committer). If you can't get apreq2.12 to work, try 2.08.
>>>
>>> Adam
>>>
>>>
>>>
>>>
>>> Joe Niederberger wrote:
>>>
>>>> How do I find out what *all* the special options needed are?
>>>>
>>>> Thanks,
>>>> Joe N.
>>>>
>>>> ----- Original Message ----- From:
>>>> To: "mod_perl list"
>>>> Sent: Thursday, October 29, 2009 12:14 PM
>>>> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>>>>
>>>>
>>>> I've been using apache2/mod_perl2 on FreeBSD for years. Currently using
>>>>> 6.3 and 7.2. Installing from ports should work fine, but I prefer to install
>>>>> separate versions of apache2 and mod_perl2 from source. Haven't had a
>>>>> problem installing either of those in sometime. Installing libapreq2 on
>>>>> FreeBSD requires some special options, like passing --with-expat=/usr/local
>>>>> to configure and using gmake.
>>>>>
>>>>> -Glenn
>>>>>
>>>>
>>>>
>>>
>>
>>
>

--001485f94568ccda01047729a1da
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

This may be completely unrelated, but I had similar headaches installing li=
bapreq2 on a 64 bit machine that had both 32 and 64 bit libs installed.=A0 =
I had to uninstall the offending 32 bit libs (which I didn't need).


Do they have a similar setup?

Dimitri

_quote">On Fri, Oct 30, 2009 at 12:28 PM, Sin < =3D"mailto:sinister@gmail.com">sinister@gmail.com> wrote:
=
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
pkg_add -r just goes to a package repository and gets a package version tha=
ts allready complied for your distribution. =A0 So you can't build your=
options.



However this apreq2.12 issue is interesting. =A0 I was going to try this ag=
ain. =A0 I went to build this port but make errored out with:



===3D> =A0libapreq2-2.12_1 : Error from ..mk" target=3D"_blank">bsd.apache.mk. apache13 is installed (or APACHE_=
PORT is defined) and port requires 2.0+.

*** Error code 1





But if you look at the port it says apache-1.3.41_1 is the build and run de=
pendency. =A0So it should of built the port (because I just happen to have =
apache 1.3 installed ). =A0 I'm wondering if all the times I tried to b=
uild Apache2.x with mod_perl2 the application couldn't interface with i=
t because of a missing dependency.






I'm not a BSD expert but it looks like this port needs updating. =A0 He=
re's the description in ports:







Port: =A0 libapreq2-2.12_1

Path: =A0 /usr/ports/www/libapreq2

Info: =A0 Generic Apache2 Request Library

Maint: =A0skv@FreeBSD.org



B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 expat-2.0.1=
gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1 p=
erl-5.8.9_3



R-deps: apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3

WWW: =A0 =A0ht=
tp://httpd.apache.org/apreq/








Port: =A0 p5-libapreq2-2.12_1

Path: =A0 /usr/ports/www/p5-libapreq2

Info: =A0 Generic Apache2 Request Library

Maint: =A0skv@FreeBSD.org



B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 expat-2.0.1=
gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1 m=
od_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1 p5-P=
arse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3




R-deps: apache-1.3.41_1 expat-2.0.1 mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2=
903 p5-ExtUtils-XSBuilder-0.28_1 p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-=
1.21 p5-version-0.76 perl-5.8.9_3

WWW: =A0 =A0ht=
tp://httpd.apache.org/apreq/






----- Original Message ----- From: "Foo JH" < :jhfoo-ml@extracktor.com" target=3D"_blank">jhfoo-ml@extracktor.com>=


To: "Adam Prime" < rget=3D"_blank">adam.prime@utoronto.ca>

Cc: "Joe Niederberger" < t.net" target=3D"_blank">jniederberger@comcast.net>; "mod_perl =
list" < >modperl@perl.apache.org>


Sent: Friday, October 30, 2009 3:15 AM
>
Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)





204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Just a thought: is install ap22 + mp2 + libapreq2 via pkg_add -r an option?=
That's what I normally do these days.





Adam Prime wrote:

204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You guys might want to take a look at this thread on apreq-dev



t=3D"_blank">http://marc.info/?t=3D124207659800007&r=3D1 &w=3D2<=
br>


Specifically the last couple of posts from pgollucci (who is a freebsd, and=
mod_perl committer). =A0If you can't get apreq2.12 to work, try 2.08.<=
br>


Adam









Joe Niederberger wrote:

204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How do I find out what *all* the special options needed are?



Thanks,

Joe N.



----- Original Message ----- From: < target=3D"_blank">glenn@gallien.net>

To: "mod_perl list" < " target=3D"_blank">modperl@perl.apache.org>

Sent: Thursday, October 29, 2009 12:14 PM

Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)





204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've been using apache2/mod_perl2 on FreeBSD for years. Currently using=
6.3 and 7.2. Installing from ports should work fine, but I prefer to insta=
ll separate versions of apache2 and mod_perl2 from source. Haven't had =
a problem installing either of those in sometime. Installing libapreq2 on F=
reeBSD requires some special options, like passing --with-expat=3D/usr/loca=
l to configure and using gmake.




-Glenn


















--001485f94568ccda01047729a1da--

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 30.10.2009 17:44:05 von sin

This is a multi-part message in MIME format.

------=_NextPart_000_0A7D_01CA595E.AAC007F0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

When I build from ports the " make config " usually brings up a window =
that has options for both 32 bit and 64 bit. If I had to guess I'd say =
its the same Makefile and source code that builds the binary files. Or =
in your case a 64 bit bin file. But honestly I really don't know, we =
should steer this thread over to the FreeBSD mailling lists. Perhaps =
its just a matter of pointing this out to a maintainer or the governing =
group at the FreeBSD mailling list people. Maybe they know the next =
step? =20
----- Original Message -----=20
From: metacyclic@gmail.com=20
To: Sin=20
Cc: Foo JH ; Adam Prime ; Joe Niederberger ; mod_perl list=20
Sent: Friday, October 30, 2009 12:36 PM
Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


This may be completely unrelated, but I had similar headaches =
installing libapreq2 on a 64 bit machine that had both 32 and 64 bit =
libs installed. I had to uninstall the offending 32 bit libs (which I =
didn't need).

Do they have a similar setup?

Dimitri


On Fri, Oct 30, 2009 at 12:28 PM, Sin wrote:

pkg_add -r just goes to a package repository and gets a package =
version thats allready complied for your distribution. So you can't =
build your options.

However this apreq2.12 issue is interesting. I was going to try =
this again. I went to build this port but make errored out with:

===3D> libapreq2-2.12_1 : Error from bsd.apache.mk. apache13 is =
installed (or APACHE_PORT is defined) and port requires 2.0+.
*** Error code 1


But if you look at the port it says apache-1.3.41_1 is the build and =
run dependency. So it should of built the port (because I just happen =
to have apache 1.3 installed ). I'm wondering if all the times I tried =
to build Apache2.x with mod_perl2 the application couldn't interface =
with it because of a missing dependency.


I'm not a BSD expert but it looks like this port needs updating. =
Here's the description in ports:



Port: libapreq2-2.12_1
Path: /usr/ports/www/libapreq2
Info: Generic Apache2 Request Library
Maint: skv@FreeBSD.org

B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 =
expat-2.0.1 gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 =
m4-1.4.13,1 perl-5.8.9_3

R-deps: apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3
WWW: http://httpd.apache.org/apreq/



Port: p5-libapreq2-2.12_1
Path: /usr/ports/www/p5-libapreq2
Info: Generic Apache2 Request Library
Maint: skv@FreeBSD.org

B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 =
expat-2.0.1 gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 =
m4-1.4.13,1 mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903 =
p5-ExtUtils-XSBuilder-0.28_1 p5-Parse-RecDescent-1.962.2 =
p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3

R-deps: apache-1.3.41_1 expat-2.0.1 mod_perl2-2.0.4_2,3 =
p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1 =
p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 =
perl-5.8.9_3
WWW: http://httpd.apache.org/apreq/


----- Original Message ----- From: "Foo JH" =

To: "Adam Prime"
Cc: "Joe Niederberger" ; "mod_perl list" =

Sent: Friday, October 30, 2009 3:15 AM

Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)



Just a thought: is install ap22 + mp2 + libapreq2 via pkg_add -r =
an option? That's what I normally do these days.


Adam Prime wrote:

You guys might want to take a look at this thread on apreq-dev

http://marc.info/?t=3D124207659800007&r=3D1&w=3D2

Specifically the last couple of posts from pgollucci (who is a =
freebsd, and mod_perl committer). If you can't get apreq2.12 to work, =
try 2.08.

Adam




Joe Niederberger wrote:

How do I find out what *all* the special options needed are?

Thanks,
Joe N.

----- Original Message ----- From:
To: "mod_perl list"
Sent: Thursday, October 29, 2009 12:14 PM
Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie =
(libapreq2)



I've been using apache2/mod_perl2 on FreeBSD for years. =
Currently using 6.3 and 7.2. Installing from ports should work fine, but =
I prefer to install separate versions of apache2 and mod_perl2 from =
source. Haven't had a problem installing either of those in sometime. =
Installing libapreq2 on FreeBSD requires some special options, like =
passing --with-expat=3D/usr/local to configure and using gmake.

-Glenn












------=_NextPart_000_0A7D_01CA595E.AAC007F0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



http-equiv=3DContent-Type>




When I build from ports the " make =
config "=20
usually brings up a window that has options for both 32 bit and 64=20
bit.   If I had to guess I'd say its the same Makefile and =
source code=20
that builds the binary files.   Or in your case a 64 bit bin=20
file.   But honestly I really don't know, we should steer this =
thread=20
over to the FreeBSD mailling lists.  Perhaps its just a matter of =
pointing=20
this out to a maintainer or the governing group at the FreeBSD mailling =
list=20
people.   Maybe they know the next step? 

style=3D"BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; =
PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
----- Original Message -----

style=3D"FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: =
black">From:=20
href=3D"mailto:metacyclic@gmail.com">metacyclic@gmail.com
To: title=3Dsinister@gmail.com=20
href=3D"mailto:sinister@gmail.com">Sin

Cc: title=3Djhfoo-ml@extracktor.com=20
href=3D"mailto:jhfoo-ml@extracktor.com">Foo JH
; title=3Dadam.prime@utoronto.ca =
href=3D"mailto:adam.prime@utoronto.ca">Adam=20
Prime ; href=3D"mailto:jniederberger@comcast.net">Joe Niederberger ; title=3Dmodperl@perl.apache.org =
href=3D"mailto:modperl@perl.apache.org">mod_perl=20
list

Sent: Friday, October 30, 2009 =
12:36=20
PM

Subject: Re: FreeBSD 7.2, =
mod_perl2 &=20
Apache2::Cookie (libapreq2)


This may be completely unrelated, but I had similar =
headaches=20
installing libapreq2 on a 64 bit machine that had both 32 and 64 bit =
libs=20
installed.  I had to uninstall the offending 32 bit libs (which I =
didn't=20
need).

Do they have a similar setup?

Dimitri


On Fri, Oct 30, 2009 at 12:28 PM, Sin dir=3Dltr>< href=3D"mailto:sinister@gmail.com">sinister@gmail.com> =
wrote:

style=3D"BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt =
0.8ex; PADDING-LEFT: 1ex"=20
class=3Dgmail_quote>pkg_add -r just goes to a package repository and =
gets a=20
package version thats allready complied for your distribution. =
  So you=20
can't build your options.

However this apreq2.12 issue is=20
interesting.   I was going to try this again.   I went to =
build=20
this port but make errored out with:

===3D> =
 libapreq2-2.12_1 :=20
Error from target=3D_blank>bsd.apache.mk.=20
apache13 is installed (or APACHE_PORT is defined) and port requires=20
2.0+.
*** Error code 1


But if you look at the port it =
says=20
apache-1.3.41_1 is the build and run dependency.  So it should =
of built=20
the port (because I just happen to have apache 1.3 installed ). =
  I'm=20
wondering if all the times I tried to build Apache2.x with mod_perl2 =
the=20
application couldn't interface with it because of a missing=20
dependency.


I'm not a BSD expert but it looks like this =
port=20
needs updating.   Here's the description in =
ports:



Port:=20
  libapreq2-2.12_1
Path:   =
/usr/ports/www/libapreq2
Info:=20
  Generic Apache2 Request Library
Maint:=20
 skv@FreeBSD.org

B-deps: apache-1.3.41_1 autoconf-2.62=20
autoconf-wrapper-20071109 expat-2.0.1 gettext-0.17_1 gmake-3.81_3=20
libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1 =
perl-5.8.9_3

R-deps:=20
apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3
WWW:     href=3D"http://httpd.apache.org/apreq/"=20
=
target=3D_blank>http://httpd.apache.org/apreq/



Port: =
 =20
p5-libapreq2-2.12_1
Path:   =
/usr/ports/www/p5-libapreq2
Info:=20
  Generic Apache2 Request Library
Maint:=20
 skv@FreeBSD.org

B-deps: apache-1.3.41_1 autoconf-2.62=20
autoconf-wrapper-20071109 expat-2.0.1 gettext-0.17_1 gmake-3.81_3=20
libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1 mod_perl2-2.0.4_2,3=20
p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1=20
p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76=20
perl-5.8.9_3

R-deps: apache-1.3.41_1 expat-2.0.1 =
mod_perl2-2.0.4_2,3=20
p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1=20
p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76=20
perl-5.8.9_3
WWW:     href=3D"http://httpd.apache.org/apreq/"=20
target=3D_blank>http://httpd.apache.org/apreq/



----- =
Original=20
Message ----- From: "Foo JH" < href=3D"mailto:jhfoo-ml@extracktor.com"=20
target=3D_blank>jhfoo-ml@extracktor.com
>
To: "Adam Prime" =
< href=3D"mailto:adam.prime@utoronto.ca"=20
target=3D_blank>adam.prime@utoronto.ca>
Cc: "Joe =
Niederberger"=20
< target=3D_blank>jniederberger@comcast.net>; "mod_perl list" =
< href=3D"mailto:modperl@perl.apache.org"=20
target=3D_blank>modperl@perl.apache.org>
Sent: Friday, =
October 30,=20
2009 3:15 AM



Subject: Re: FreeBSD 7.2, mod_perl2 & =
Apache2::Cookie=20
(libapreq2)



style=3D"BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt =
0pt 0.8ex; PADDING-LEFT: 1ex"=20
class=3Dgmail_quote>Just a thought: is install ap22 + mp2 + =
libapreq2 via=20
pkg_add -r an option? That's what I normally do these=20
days.


Adam Prime wrote:

style=3D"BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt =
0pt 0.8ex; PADDING-LEFT: 1ex"=20
class=3Dgmail_quote>You guys might want to take a look at this =
thread on=20
apreq-dev

=
href=3D"http://marc.info/?t=3D124207659800007&r=3D1& w=3D2"=20
=
target=3D_blank>http://marc.info/?t=3D124207659800007&r= 3D1&w=3D2=


Specifically=20
the last couple of posts from pgollucci (who is a freebsd, and =
mod_perl=20
committer).  If you can't get apreq2.12 to work, try=20
2.08.

Adam




Joe Niederberger wrote:

style=3D"BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt =
0pt 0pt 0.8ex; PADDING-LEFT: 1ex"=20
class=3Dgmail_quote>How do I find out what *all* the special =
options=20
needed are?

Thanks,
Joe N.

----- Original =
Message=20
----- From: < target=3D_blank>glenn@gallien.net>
To: "mod_perl =
list" < href=3D"mailto:modperl@perl.apache.org"=20
target=3D_blank>modperl@perl.apache.org>
Sent: =
Thursday,=20
October 29, 2009 12:14 PM
Subject: Re: FreeBSD 7.2, =
mod_perl2 &=20
Apache2::Cookie (libapreq2)



style=3D"BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt =
0pt 0pt 0.8ex; PADDING-LEFT: 1ex"=20
class=3Dgmail_quote>I've been using apache2/mod_perl2 on =
FreeBSD for=20
years. Currently using 6.3 and 7.2. Installing from ports =
should=20
work fine, but I prefer to install separate versions of =
apache2 and=20
mod_perl2 from source. Haven't had a problem installing =
either of=20
those in sometime. Installing libapreq2 on FreeBSD requires =
some=20
special options, like passing --with-expat=3D/usr/local to =
configure=20
and using=20
=
gmake.

-Glenn


R>


BODY>

------=_NextPart_000_0A7D_01CA595E.AAC007F0--

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 30.10.2009 17:56:19 von Craig or Merikay MacKenna

--Apple-Mail-3--558294905
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed

The man you want at the FreeBSD lists is Philip M. Gollucci.
He maintains libapreq2 in the ports collection, and was very
helpful to me when I was trying to get the module to build,
earlier this year.

Good Luck and please report your results to this list when this is
settled,
cmac


On Oct 30, 2009, at 9:44 AM, Sin wrote:

> When I build from ports the " make config " usually brings up a
> window that has options for both 32 bit and 64 bit. If I had to
> guess I'd say its the same Makefile and source code that builds the
> binary files. Or in your case a 64 bit bin file. But honestly I
> really don't know, we should steer this thread over to the FreeBSD
> mailling lists. Perhaps its just a matter of pointing this out to
> a maintainer or the governing group at the FreeBSD mailling list
> people. Maybe they know the next step?
> ----- Original Message -----
> From: metacyclic@gmail.com
> To: Sin
> Cc: Foo JH ; Adam Prime ; Joe Niederberger ; mod_perl list
> Sent: Friday, October 30, 2009 12:36 PM
> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
> This may be completely unrelated, but I had similar headaches
> installing libapreq2 on a 64 bit machine that had both 32 and 64
> bit libs installed. I had to uninstall the offending 32 bit libs
> (which I didn't need).
>
> Do they have a similar setup?
>
> Dimitri
>
> On Fri, Oct 30, 2009 at 12:28 PM, Sin wrote:
> pkg_add -r just goes to a package repository and gets a package
> version thats allready complied for your distribution. So you
> can't build your options.
>
> However this apreq2.12 issue is interesting. I was going to try
> this again. I went to build this port but make errored out with:
>
> ===> libapreq2-2.12_1 : Error from bsd.apache.mk. apache13 is
> installed (or APACHE_PORT is defined) and port requires 2.0+.
> *** Error code 1
>
>
> But if you look at the port it says apache-1.3.41_1 is the build
> and run dependency. So it should of built the port (because I just
> happen to have apache 1.3 installed ). I'm wondering if all the
> times I tried to build Apache2.x with mod_perl2 the application
> couldn't interface with it because of a missing dependency.
>
>
> I'm not a BSD expert but it looks like this port needs updating.
> Here's the description in ports:
>
>
>
> Port: libapreq2-2.12_1
> Path: /usr/ports/www/libapreq2
> Info: Generic Apache2 Request Library
> Maint: skv@FreeBSD.org
>
> B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109
> expat-2.0.1 gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1
> libtool-2.2.6a_1 m4-1.4.13,1 perl-5.8.9_3
>
> R-deps: apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3
> WWW: http://httpd.apache.org/apreq/
>
>
>
> Port: p5-libapreq2-2.12_1
> Path: /usr/ports/www/p5-libapreq2
> Info: Generic Apache2 Request Library
> Maint: skv@FreeBSD.org
>
> B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109
> expat-2.0.1 gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1
> libtool-2.2.6a_1 m4-1.4.13,1 mod_perl2-2.0.4_2,3 p5-BSD-
> Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1 p5-Parse-
> RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3
>
> R-deps: apache-1.3.41_1 expat-2.0.1 mod_perl2-2.0.4_2,3 p5-BSD-
> Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1 p5-Parse-
> RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3
> WWW: http://httpd.apache.org/apreq/
>
>
> ----- Original Message ----- From: "Foo JH"
> To: "Adam Prime"
> Cc: "Joe Niederberger" ; "mod_perl list"
>
> Sent: Friday, October 30, 2009 3:15 AM
>
> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
>
> Just a thought: is install ap22 + mp2 + libapreq2 via pkg_add -r an
> option? That's what I normally do these days.
>
>
> Adam Prime wrote:
> You guys might want to take a look at this thread on apreq-dev
>
> http://marc.info/?t=124207659800007&r=1&w=2
>
> Specifically the last couple of posts from pgollucci (who is a
> freebsd, and mod_perl committer). If you can't get apreq2.12 to
> work, try 2.08.
>
> Adam
>
>
>
>
> Joe Niederberger wrote:
> How do I find out what *all* the special options needed are?
>
> Thanks,
> Joe N.
>
> ----- Original Message ----- From:
> To: "mod_perl list"
> Sent: Thursday, October 29, 2009 12:14 PM
> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
>
> I've been using apache2/mod_perl2 on FreeBSD for years. Currently
> using 6.3 and 7.2. Installing from ports should work fine, but I
> prefer to install separate versions of apache2 and mod_perl2 from
> source. Haven't had a problem installing either of those in
> sometime. Installing libapreq2 on FreeBSD requires some special
> options, like passing --with-expat=/usr/local to configure and
> using gmake.
>
> -Glenn
>
>
>
>
>
>
>


--Apple-Mail-3--558294905
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=US-ASCII

-webkit-line-break: after-white-space; ">
The man you want at the FreeBSD lists is Philip M. Gollucci. =
 

He maintains libapreq2 in the ports collection, and was =
very
helpful to me when I was trying to get the module to =
build, 
earlier this year.

Good =
Luck and please report your results to this list when this is =
settled,
cmac


On Oct =
30, 2009, at 9:44 AM, Sin wrote:

class=3D"Apple-interchange-newline">
class=3D"Apple-style-span" style=3D"border-collapse: separate; color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: 2; text-align: auto; text-indent: =
0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; ">
face=3D"Verdana">When I build from ports the " make config " usually =
brings up a window that has options for both 32 bit and 64 =
bit.   If I had to guess I'd say its the same Makefile and =
source code that builds the binary files.   Or in your case a =
64 bit bin file.   But honestly I really don't know, we should =
steer this thread over to the FreeBSD mailling lists.  Perhaps its =
just a matter of pointing this out to a maintainer or the governing =
group at the FreeBSD mailling list people.   Maybe they know =
the next step? 
rgb(0, 0, 0); border-left-width: 2px; border-left-style: solid; =
padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: =
0px; ">
">----- Original Message -----
normal 10pt/normal arial; background-image: initial; background-repeat: =
initial; background-attachment: initial; -webkit-background-clip: =
initial; -webkit-background-origin: initial; background-color: rgb(228, =
228, 228); background-position: initial initial; ">From: class=3D"Apple-converted-space">  title=3D"metacyclic@gmail.com" =
href=3D"mailto:metacyclic@gmail.com">metacyclic@gmail.com
style=3D"font: normal normal normal 10pt/normal arial; ">To: class=3D"Apple-converted-space">  title=3D"sinister@gmail.com" =
href=3D"mailto:sinister@gmail.com">Sin
normal normal normal 10pt/normal arial; ">Cc: class=3D"Apple-converted-space">  title=3D"jhfoo-ml@extracktor.com" =
href=3D"mailto:jhfoo-ml@extracktor.com">Foo JH
class=3D"Apple-converted-space"> ; class=3D"Apple-converted-space">  title=3D"adam.prime@utoronto.ca" =
href=3D"mailto:adam.prime@utoronto.ca">Adam Prime
class=3D"Apple-converted-space"> ; class=3D"Apple-converted-space">  title=3D"jniederberger@comcast.net" =
href=3D"mailto:jniederberger@comcast.net">Joe Niederberger
class=3D"Apple-converted-space"> ; class=3D"Apple-converted-space">  title=3D"modperl@perl.apache.org" =
href=3D"mailto:modperl@perl.apache.org">mod_perl list
style=3D"font: normal normal normal 10pt/normal arial; =
">Sent: Friday, =
October 30, 2009 12:36 PM
10pt/normal arial; ">Subject: class=3D"Apple-converted-space"> Re: FreeBSD 7.2, mod_perl2 =
& Apache2::Cookie (libapreq2)

This may be =
completely unrelated, but I had similar headaches installing libapreq2 =
on a 64 bit machine that had both 32 and 64 bit libs installed.  I =
had to uninstall the offending 32 bit libs (which I didn't =
need).

Do they have a similar setup?

Dimitri

class=3D"gmail_quote">On Fri, Oct 30, 2009 at 12:28 PM, Sin class=3D"Apple-converted-space"> < href=3D"mailto:sinister@gmail.com">sinister@gmail.com> class=3D"Apple-converted-space"> wrote:
class=3D"gmail_quote" style=3D"border-left-color: rgb(204, 204, 204); =
border-left-width: 1px; border-left-style: solid; margin-top: 0pt; =
margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; padding-left: =
1ex; ">pkg_add -r just goes to a package repository and gets a package =
version thats allready complied for your distribution.   So you =
can't build your options.

However this apreq2.12 issue is =
interesting.   I was going to try this again.   I went to =
build this port but make errored out with:

===3D> =
 libapreq2-2.12_1 : Error from class=3D"Apple-converted-space">  href=3D"http://bsd.apache.mk" target=3D"_blank">bsd.apache.mk. =
apache13 is installed (or APACHE_PORT is defined) and port requires =
2.0+.
*** Error code 1


But if you look at the port it says =
apache-1.3.41_1 is the build and run dependency.  So it should of =
built the port (because I just happen to have apache 1.3 installed ). =
  I'm wondering if all the times I tried to build Apache2.x with =
mod_perl2 the application couldn't interface with it because of a =
missing dependency.


I'm not a BSD expert but it looks like =
this port needs updating.   Here's the description in =
ports:



Port:   libapreq2-2.12_1
Path:   =
/usr/ports/www/libapreq2
Info:   Generic Apache2 Request =
Library
Maint:   href=3D"mailto:skv@FreeBSD.org">skv@FreeBSD.org

B-deps: =
apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 expat-2.0.1 =
gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1 =
perl-5.8.9_3

R-deps: apache-1.3.41_1 expat-2.0.1 =
perl-5.8.9_3
WWW:     href=3D"http://httpd.apache.org/apreq/" =
target=3D"_blank">http://httpd.apache.org/apreq/




Port: =
  p5-libapreq2-2.12_1
Path:   =
/usr/ports/www/p5-libapreq2
Info:   Generic Apache2 Request =
Library
Maint:   href=3D"mailto:skv@FreeBSD.org">skv@FreeBSD.org

B-deps: =
apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 expat-2.0.1 =
gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1 =
mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1 =
p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 =
perl-5.8.9_3

R-deps: apache-1.3.41_1 expat-2.0.1 =
mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1 =
p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 =
perl-5.8.9_3
WWW:     href=3D"http://httpd.apache.org/apreq/" =
target=3D"_blank">http://httpd.apache.org/apreq/



----- =
Original Message ----- From: "Foo JH" < href=3D"mailto:jhfoo-ml@extracktor.com" =
target=3D"_blank">jhfoo-ml@extracktor.com
>
To: "Adam Prime" =
< target=3D"_blank">adam.prime@utoronto.ca>
Cc: "Joe =
Niederberger" < target=3D"_blank">jniederberger@comcast.net>; "mod_perl list" =
< target=3D"_blank">modperl@perl.apache.org>
Sent: Friday, =
October 30, 2009 3:15 AM

Subject: =
Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie =
(libapreq2)


style=3D"border-left-color: rgb(204, 204, 204); border-left-width: 1px; =
border-left-style: solid; margin-top: 0pt; margin-right: 0pt; =
margin-bottom: 0pt; margin-left: 0.8ex; padding-left: 1ex; ">Just a =
thought: is install ap22 + mp2 + libapreq2 via pkg_add -r an option? =
That's what I normally do these days.


Adam Prime =
wrote:
rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid; =
margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: =
0.8ex; padding-left: 1ex; ">You guys might want to take a look at this =
thread on apreq-dev

href=3D"http://marc.info/?t=3D124207659800007&r=3D1& w=3D2" =
target=3D"_blank">http://marc.info/?t=3D124207659800007& r=3D1&w=3D=
2


Specifically the last couple of posts from pgollucci (who =
is a freebsd, and mod_perl committer).  If you can't get apreq2.12 =
to work, try 2.08.

Adam




Joe Niederberger =
wrote:
rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid; =
margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: =
0.8ex; padding-left: 1ex; ">How do I find out what *all* the special =
options needed are?

Thanks,
Joe N.

----- Original =
Message ----- From: < target=3D"_blank">glenn@gallien.net>
To: "mod_perl list" =
< target=3D"_blank">modperl@perl.apache.org>
Sent: Thursday, =
October 29, 2009 12:14 PM
Subject: Re: FreeBSD 7.2, mod_perl2 & =
Apache2::Cookie (libapreq2)


style=3D"border-left-color: rgb(204, 204, 204); border-left-width: 1px; =
border-left-style: solid; margin-top: 0pt; margin-right: 0pt; =
margin-bottom: 0pt; margin-left: 0.8ex; padding-left: 1ex; ">I've been =
using apache2/mod_perl2 on FreeBSD for years. Currently using 6.3 and =
7.2. Installing from ports should work fine, but I prefer to install =
separate versions of apache2 and mod_perl2 from source. Haven't had a =
problem installing either of those in sometime. Installing libapreq2 on =
FreeBSD requires some special options, like passing =
--with-expat=3D/usr/local to configure and using =
gmake.

-Glenn


>


an>
class=3D"Apple-interchange-newline">

html>=

--Apple-Mail-3--558294905--

RE: mod-perl child process

am 30.10.2009 19:52:27 von sudhakar Avirneni

<6C765FD0-65B9-40FF-BB70-0A28097B583D@plusw.de>

<4AE49AA5.5000802@ice-sa.com>

<079E8E38-41D6-445F-96EA-E45B0310E60F@plusw.de>

<4AE4C746.6060504@ice-sa.com>



<66887a3d0910271117g7584a9abgd24964929f558f54@mail.gmail.com>






<66887a3d0910290748r22af0528w29de9696af8c63b6@mail.gmail.com>
MIME-Version: 1.0

--_b81e459a-bb0c-4804-921d-870daac7315c_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


remove my email from list.

Thanks and regards,
Sudhakar Avirneni,
ph)6786228961



> Date: Thu=2C 29 Oct 2009 10:48:05 -0400
> Subject: Re: mod-perl child process
> From: pharkins@gmail.com
> To: Raja.Kulasekaran@netapp.com
> CC: modperl@perl.apache.org
>=20
> On Thu=2C Oct 29=2C 2009 at 10:05 AM=2C Kulasekaran=2C Raja
> wrote:
> > How do I get the status that particular child process has been killed ?
>=20
> Are you talking about the exit status of the process? You can't get
> that. What are you trying to do?
>=20
> - Perrin
=20
____________________________________________________________ _____
New Windows 7: Simplify what you do everyday. Find the right PC for you.
http://windows.microsoft.com/shop=

--_b81e459a-bb0c-4804-921d-870daac7315c_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable






remove my email from list.

Thanks and regards=2C
Sudhakar A=
virneni=2C
ph)6786228961




>=3B Date: Thu=2C 29 Oc=
t 2009 10:48:05 -0400
>=3B Subject: Re: mod-perl child process
>=
=3B From: pharkins@gmail.com
>=3B To: Raja.Kulasekaran@netapp.com
&=
gt=3B CC: modperl@perl.apache.org
>=3B
>=3B On Thu=2C Oct 29=2C =
2009 at 10:05 AM=2C Kulasekaran=2C Raja
>=3B <=3BRaja.Kulasekaran@ne=
tapp.com>=3B wrote:
>=3B >=3B How do I get the status that particu=
lar child process has been killed ?
>=3B
>=3B Are you talking ab=
out the exit status of the process? You can't get
>=3B that. What ar=
e you trying to do?
>=3B
>=3B - Perrin


/>New Windows 7: Simplify what you do everyday. icrosoft.com/shop' target=3D'_new'>Find the right PC for you.
=

--_b81e459a-bb0c-4804-921d-870daac7315c_--

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 30.10.2009 20:50:42 von metacyclic

--00c09ffb57b8d3a6fa04772c577a
Content-Type: text/plain; charset=ISO-8859-1

As a side note, my problems were on CentOS. But the errors were similar ...

Dimitri

On Fri, Oct 30, 2009 at 12:44 PM, Sin wrote:

> When I build from ports the " make config " usually brings up a window
> that has options for both 32 bit and 64 bit. If I had to guess I'd say its
> the same Makefile and source code that builds the binary files. Or in your
> case a 64 bit bin file. But honestly I really don't know, we should steer
> this thread over to the FreeBSD mailling lists. Perhaps its just a matter
> of pointing this out to a maintainer or the governing group at the FreeBSD
> mailling list people. Maybe they know the next step?
>
> ----- Original Message -----
> *From:* metacyclic@gmail.com
> *To:* Sin
> *Cc:* Foo JH ; Adam Prime; Joe
> Niederberger ; mod_perl list
> *Sent:* Friday, October 30, 2009 12:36 PM
> *Subject:* Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
> This may be completely unrelated, but I had similar headaches installing
> libapreq2 on a 64 bit machine that had both 32 and 64 bit libs installed. I
> had to uninstall the offending 32 bit libs (which I didn't need).
>
> Do they have a similar setup?
>
> Dimitri
>
> On Fri, Oct 30, 2009 at 12:28 PM, Sin wrote:
>
>> pkg_add -r just goes to a package repository and gets a package version
>> thats allready complied for your distribution. So you can't build your
>> options.
>>
>> However this apreq2.12 issue is interesting. I was going to try this
>> again. I went to build this port but make errored out with:
>>
>> ===> libapreq2-2.12_1 : Error from bsd.apache.mk. apache13 is installed
>> (or APACHE_PORT is defined) and port requires 2.0+.
>> *** Error code 1
>>
>>
>> But if you look at the port it says apache-1.3.41_1 is the build and run
>> dependency. So it should of built the port (because I just happen to have
>> apache 1.3 installed ). I'm wondering if all the times I tried to build
>> Apache2.x with mod_perl2 the application couldn't interface with it because
>> of a missing dependency.
>>
>>
>> I'm not a BSD expert but it looks like this port needs updating. Here's
>> the description in ports:
>>
>>
>>
>> Port: libapreq2-2.12_1
>> Path: /usr/ports/www/libapreq2
>> Info: Generic Apache2 Request Library
>> Maint: skv@FreeBSD.org
>>
>> B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109
>> expat-2.0.1 gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1
>> m4-1.4.13,1 perl-5.8.9_3
>>
>> R-deps: apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3
>> WWW: http://httpd.apache.org/apreq/
>>
>>
>>
>> Port: p5-libapreq2-2.12_1
>> Path: /usr/ports/www/p5-libapreq2
>> Info: Generic Apache2 Request Library
>> Maint: skv@FreeBSD.org
>>
>> B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109
>> expat-2.0.1 gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1
>> m4-1.4.13,1 mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903
>> p5-ExtUtils-XSBuilder-0.28_1 p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21
>> p5-version-0.76 perl-5.8.9_3
>>
>> R-deps: apache-1.3.41_1 expat-2.0.1 mod_perl2-2.0.4_2,3
>> p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1
>> p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3
>> WWW: http://httpd.apache.org/apreq/
>>
>>
>> ----- Original Message ----- From: "Foo JH"
>> To: "Adam Prime"
>> Cc: "Joe Niederberger" ; "mod_perl list" <
>> modperl@perl.apache.org>
>> Sent: Friday, October 30, 2009 3:15 AM
>>
>> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>>
>>
>> Just a thought: is install ap22 + mp2 + libapreq2 via pkg_add -r an
>>> option? That's what I normally do these days.
>>>
>>>
>>> Adam Prime wrote:
>>>
>>>> You guys might want to take a look at this thread on apreq-dev
>>>>
>>>> http://marc.info/?t=124207659800007&r=1&w=2
>>>>
>>>> Specifically the last couple of posts from pgollucci (who is a freebsd,
>>>> and mod_perl committer). If you can't get apreq2.12 to work, try 2.08.
>>>>
>>>> Adam
>>>>
>>>>
>>>>
>>>>
>>>> Joe Niederberger wrote:
>>>>
>>>>> How do I find out what *all* the special options needed are?
>>>>>
>>>>> Thanks,
>>>>> Joe N.
>>>>>
>>>>> ----- Original Message ----- From:
>>>>> To: "mod_perl list"
>>>>> Sent: Thursday, October 29, 2009 12:14 PM
>>>>> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>>>>>
>>>>>
>>>>> I've been using apache2/mod_perl2 on FreeBSD for years. Currently using
>>>>>> 6.3 and 7.2. Installing from ports should work fine, but I prefer to install
>>>>>> separate versions of apache2 and mod_perl2 from source. Haven't had a
>>>>>> problem installing either of those in sometime. Installing libapreq2 on
>>>>>> FreeBSD requires some special options, like passing --with-expat=/usr/local
>>>>>> to configure and using gmake.
>>>>>>
>>>>>> -Glenn
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>

--00c09ffb57b8d3a6fa04772c577a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

As a side note, my problems were on CentOS.=A0 But the errors were similar =
....

Dimitri

On Fri, Oct 30, 2009 a=
t 12:44 PM, Sin < >sinister@gmail.com> wrote:

204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






When I build from ports the " m=
ake config "=20
usually brings up a window that has options for both 32 bit and 64=20
bit.   If I had to guess I'd say its the same Makefile and source c=
ode=20
that builds the binary files.   Or in your case a 64 bit bin=20
file.   But honestly I really don't know, we should steer this thre=
ad=20
over to the FreeBSD mailling lists.=A0 Perhaps its just a matter of pointin=
g=20
this out to a maintainer or the governing group at the FreeBSD mailling lis=
t=20
people.   Maybe they know the next step?=A0
v>

; padding-right: 0px; margin-left: 5px; margin-right: 0px;">
l; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adj=
ust: none; font-stretch: normal;">----- Original Message -----

nt-family: arial; font-style: normal; font-variant: normal; font-weight: no=
rmal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-st=
retch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: =
-moz-initial; -moz-background-inline-policy: -moz-initial;">
From:=20
rget=3D"_blank">metacyclic@gmail.com

l; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adj=
ust: none; font-stretch: normal;">To: " href=3D"mailto:sinister@gmail.com" target=3D"_blank">Sin



l; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adj=
ust: none; font-stretch: normal;">Sent: Friday, October 30, 2009 12:=
36=20
PM

l; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adj=
ust: none; font-stretch: normal;">Subject: Re: FreeBSD 7.2, mod_perl=
2 &=20
Apache2::Cookie (libapreq2)


This may be completely unrelated, but I had similar headac=
hes=20
installing libapreq2 on a 64 bit machine that had both 32 and 64 bit libs=
=20
installed.=A0 I had to uninstall the offending 32 bit libs (which I didn&=
#39;t=20
need).

Do they have a similar setup?

Dimitri


On Fri, Oct 30, 2009 at 12:28 PM, Sin r=3D"ltr"><sinis=
ter@gmail.com
>
wrote:

pt 0pt 0pt 0.8ex; padding-left: 1ex;" class=3D"gmail_quote">pkg_add -r just=
goes to a package repository and gets a=20
package version thats allready complied for your distribution. =A0 So y=
ou=20
can't build your options.

However this apreq2.12 issue is=20
interesting. =A0 I was going to try this again. =A0 I went to build=20
this port but make errored out with:

===3D> =A0libapreq2-=
2.12_1 :=20
Error from bsd.apach=
e.mk
.=20
apache13 is installed (or APACHE_PORT is defined) and port requires=20
2.0+.
*** Error code 1


But if you look at the port it say=
s=20
apache-1.3.41_1 is the build and run dependency. =A0So it should of bui=
lt=20
the port (because I just happen to have apache 1.3 installed ). =A0 I&#=
39;m=20
wondering if all the times I tried to build Apache2.x with mod_perl2 th=
e=20
application couldn't interface with it because of a missing=20
dependency.


I'm not a BSD expert but it looks like this =
port=20
needs updating. =A0 Here's the description in ports:


>Port:=20
=A0 libapreq2-2.12_1
Path: =A0 /usr/ports/www/libapreq2
Info:=20
=A0 Generic Apache2 Request Library
Maint:=20
=A0skv@FreeBSD.org

B-deps: apache-1.3.41_1 autoconf-2.62=20
autoconf-wrapper-20071109 expat-2.0.1 gettext-0.17_1 gmake-3.81_3=20
libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1 perl-5.8.9_3

R-deps=
:=20
apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3
WWW: =A0 =A0 ://httpd.apache.org/apreq/" target=3D"_blank">http://httpd.apache.org/apreq=
/




Port:  
p5-libapreq2-2.12_1
Path: =A0 /usr/ports/www/p5-libapreq2
Info:=
=20
=A0 Generic Apache2 Request Library
Maint:=20
=A0skv@FreeBSD.org

B-deps: apache-1.3.41_1 autoconf-2.62=20
autoconf-wrapper-20071109 expat-2.0.1 gettext-0.17_1 gmake-3.81_3=20
libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1 mod_perl2-2.0.4_2,3=20
p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1=20
p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76=20
perl-5.8.9_3

R-deps: apache-1.3.41_1 expat-2.0.1 mod_perl2-2.0.4=
_2,3=20
p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1=20
p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76=20
perl-5.8.9_3
WWW: =A0 =A0 target=3D"_blank">http://httpd.apache.org/apreq/


----- Origi=
nal=20
Message ----- From: "Foo JH" < xtracktor.com" target=3D"_blank">jhfoo-ml@extracktor.com>
To: &qu=
ot;Adam Prime" < "_blank">adam.prime@utoronto.ca>

Cc: "Joe Niederberger"=20
<jnie=
derberger@comcast.net
>; "mod_perl list" < lto:modperl@perl.apache.org" target=3D"_blank">modperl@perl.apache.org&=
gt;

Sent: Friday, October 30,=20
2009 3:15 AM



Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie=20
(libapreq2)



0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class=3D"gmail_quote">Just a though=
t: is install ap22 + mp2 + libapreq2 via=20
pkg_add -r an option? That's what I normally do these=20
days.


Adam Prime wrote:

n: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class=3D"gmail_quote">You guys mi=
ght want to take a look at this thread on=20
apreq-dev

mp;r=3D1&w=3D2" target=3D"_blank">http://marc.info/?t=3D124207659800007=
&r=3D1&w=3D2


Specifically=20
the last couple of posts from pgollucci (who is a freebsd, and mod_=
perl=20
committer). =A0If you can't get apreq2.12 to work, try=20
2.08.

Adam




Joe Niederberger wrote:

gin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class=3D"gmail_quote">How do I =
find out what *all* the special options=20
needed are?

Thanks,
Joe N.

----- Original Messag=
e=20
----- From: < lank">glenn@gallien.net>
To: "mod_perl list" < f=3D"mailto:modperl@perl.apache.org" target=3D"_blank">modperl@perl.apache.=
org
>

Sent: Thursday,=20
October 29, 2009 12:14 PM
Subject: Re: FreeBSD 7.2, mod_perl2 =
&=20
Apache2::Cookie (libapreq2)



argin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class=3D"gmail_quote">I'v=
e been using apache2/mod_perl2 on FreeBSD for=20
years. Currently using 6.3 and 7.2. Installing from ports shoul=
d=20
work fine, but I prefer to install separate versions of apache2=
and=20
mod_perl2 from source. Haven't had a problem installing eit=
her of=20
those in sometime. Installing libapreq2 on FreeBSD requires som=
e=20
special options, like passing --with-expat=3D/usr/local to conf=
igure=20
and using=20
gmake.

-Glenn


e>



=




--00c09ffb57b8d3a6fa04772c577a--

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 07.11.2009 00:09:42 von Joe Niederberger

This is a multi-part message in MIME format.

------=_NextPart_000_0067_01CA5F4C.DF202720
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks to everyone who contributed their insights to this thread - I
did get in touch with Mr. Galucci - and he did help straighten out
my installation. The main problem here was some remnants of Apache2
were still in the file system and lib pointers were not set correctly =
during=20
the install and so things didn't link up properly.

Thanks again,
Joe Niederberger
----- Original Message -----=20
From: mackenna@animalhead.com=20
To: Sin=20
Cc: metacyclic@gmail.com ; mod_perl list=20
Sent: Friday, October 30, 2009 11:56 AM
Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


The man you want at the FreeBSD lists is Philip M. Gollucci. =20
He maintains libapreq2 in the ports collection, and was very
helpful to me when I was trying to get the module to build,=20
earlier this year.


Good Luck and please report your results to this list when this is =
settled,
cmac




On Oct 30, 2009, at 9:44 AM, Sin wrote:


When I build from ports the " make config " usually brings up a =
window that has options for both 32 bit and 64 bit. If I had to guess =
I'd say its the same Makefile and source code that builds the binary =
files. Or in your case a 64 bit bin file. But honestly I really =
don't know, we should steer this thread over to the FreeBSD mailling =
lists. Perhaps its just a matter of pointing this out to a maintainer =
or the governing group at the FreeBSD mailling list people. Maybe they =
know the next step?=20
----- Original Message -----
From: metacyclic@gmail.com
To: Sin
Cc: Foo JH ; Adam Prime ; Joe Niederberger ; mod_perl list
Sent: Friday, October 30, 2009 12:36 PM
Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


This may be completely unrelated, but I had similar headaches =
installing libapreq2 on a 64 bit machine that had both 32 and 64 bit =
libs installed. I had to uninstall the offending 32 bit libs (which I =
didn't need).

Do they have a similar setup?

Dimitri


On Fri, Oct 30, 2009 at 12:28 PM, Sin wrote:

pkg_add -r just goes to a package repository and gets a package =
version thats allready complied for your distribution. So you can't =
build your options.

However this apreq2.12 issue is interesting. I was going to =
try this again. I went to build this port but make errored out with:

===3D> libapreq2-2.12_1 : Error from bsd.apache.mk. =
apache13 is installed (or APACHE_PORT is defined) and port requires =
2.0+.
*** Error code 1


But if you look at the port it says apache-1.3.41_1 is the build =
and run dependency. So it should of built the port (because I just =
happen to have apache 1.3 installed ). I'm wondering if all the times =
I tried to build Apache2.x with mod_perl2 the application couldn't =
interface with it because of a missing dependency.


I'm not a BSD expert but it looks like this port needs updating. =
Here's the description in ports:



Port: libapreq2-2.12_1
Path: /usr/ports/www/libapreq2
Info: Generic Apache2 Request Library
Maint: skv@FreeBSD.org

B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 =
expat-2.0.1 gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 =
m4-1.4.13,1 perl-5.8.9_3

R-deps: apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3
WWW: http://httpd.apache.org/apreq/



Port: p5-libapreq2-2.12_1
Path: /usr/ports/www/p5-libapreq2
Info: Generic Apache2 Request Library
Maint: skv@FreeBSD.org

B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 =
expat-2.0.1 gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 =
m4-1.4.13,1 mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903 =
p5-ExtUtils-XSBuilder-0.28_1 p5-Parse-RecDescent-1.962.2 =
p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3

R-deps: apache-1.3.41_1 expat-2.0.1 mod_perl2-2.0.4_2,3 =
p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1 =
p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 =
perl-5.8.9_3
WWW: http://httpd.apache.org/apreq/


----- Original Message ----- From: "Foo JH" =

To: "Adam Prime"
Cc: "Joe Niederberger" ; "mod_perl =
list"
Sent: Friday, October 30, 2009 3:15 AM

Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie =
(libapreq2)



Just a thought: is install ap22 + mp2 + libapreq2 via pkg_add =
-r an option? That's what I normally do these days.


Adam Prime wrote:

You guys might want to take a look at this thread on =
apreq-dev

http://marc.info/?t=3D124207659800007&r=3D1&w=3D2

Specifically the last couple of posts from pgollucci (who is =
a freebsd, and mod_perl committer). If you can't get apreq2.12 to work, =
try 2.08.

Adam




Joe Niederberger wrote:

How do I find out what *all* the special options needed =
are?

Thanks,
Joe N.

----- Original Message ----- From:
To: "mod_perl list"
Sent: Thursday, October 29, 2009 12:14 PM
Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie =
(libapreq2)



I've been using apache2/mod_perl2 on FreeBSD for years. =
Currently using 6.3 and 7.2. Installing from ports should work fine, but =
I prefer to install separate versions of apache2 and mod_perl2 from =
source. Haven't had a problem installing either of those in sometime. =
Installing libapreq2 on FreeBSD requires some special options, like =
passing --with-expat=3D/usr/local to configure and using gmake.

-Glenn
















------=_NextPart_000_0067_01CA5F4C.DF202720
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



charset=3Diso-8859-1">



style=3D"WORD-WRAP: break-word; webkit-nbsp-mode: space; =
webkit-line-break: after-white-space"=20
bgColor=3D#ffffff>


Thanks to everyone who contributed =
their insights=20
to this thread - I

did get in touch with Mr. Galucci - and =
he did help=20
straighten out

my installation. The main problem here =
was some=20
remnants of Apache2

were still in the file =
system and lib=20
pointers were not set correctly during

the install and so things didn't link =
up=20
properly.

 

Thanks again,

Joe Niederberger

style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
----- Original Message -----

style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black">From:=20
href=3D"mailto:mackenna@animalhead.com">mackenna@animalhead. com =

To: title=3Dsinister@gmail.com=20
href=3D"mailto:sinister@gmail.com">Sin

Cc: title=3Dmetacyclic@gmail.com=20
href=3D"mailto:metacyclic@gmail.com">metacyclic@gmail.com
; title=3Dmodperl@perl.apache.org =
href=3D"mailto:modperl@perl.apache.org">mod_perl=20
list

Sent: Friday, October 30, 2009 =
11:56=20
AM

Subject: Re: FreeBSD 7.2, =
mod_perl2 &=20
Apache2::Cookie (libapreq2)


The man you want at the FreeBSD lists is Philip M. =
Gollucci.=20
 
He maintains libapreq2 in the ports collection, and was =
very

helpful to me when I was trying to get the module to =
build, 

earlier this year.



Good Luck and please report your results to this list when this =
is=20
settled,

cmac






On Oct 30, 2009, at 9:44 AM, Sin wrote:
class=3DApple-interchange-newline>
style=3D"WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: =
none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; =
LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: =
2; webkit-border-horizontal-spacing: 0px; =
webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: =
none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
When I build from ports the " =
make config "=20
usually brings up a window that has options for both 32 bit and 64=20
bit.   If I had to guess I'd say its the same Makefile and =
source=20
code that builds the binary files.   Or in your case a 64 =
bit bin=20
file.   But honestly I really don't know, we should steer =
this=20
thread over to the FreeBSD mailling lists.  Perhaps its just a =
matter=20
of pointing this out to a maintainer or the governing group at the =
FreeBSD=20
mailling list people.   Maybe they know the next=20
step? 

style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
----- Original Message -----

style=3D"FONT: 10pt arial; BACKGROUND-COLOR: rgb(228,228,228); =
webkit-background-clip: initial; webkit-background-origin: =
initial">From: class=3DApple-converted-space> 
title=3Dmetacyclic@gmail.com=20
=
href=3D"mailto:metacyclic@gmail.com">metacyclic@gmail.com


Cc: class=3DApple-converted-space>  title=3Djhfoo-ml@extracktor.com=20
href=3D"mailto:jhfoo-ml@extracktor.com">Foo JH
class=3DApple-converted-space> ; class=3DApple-converted-space>  title=3Dadam.prime@utoronto.ca=20
href=3D"mailto:adam.prime@utoronto.ca">Adam Prime
class=3DApple-converted-space> ; class=3DApple-converted-space>  title=3Djniederberger@comcast.net=20
href=3D"mailto:jniederberger@comcast.net">Joe =
Niederberger class=3DApple-converted-space> ; class=3DApple-converted-space>  title=3Dmodperl@perl.apache.org=20
href=3D"mailto:modperl@perl.apache.org">mod_perl list

Sent: class=3DApple-converted-space> Friday, October 30, =
2009 12:36=20
PM

Subject: class=3DApple-converted-space> Re: FreeBSD 7.2, =
mod_perl2 &=20
Apache2::Cookie (libapreq2)


This may be completely unrelated, but I had similar =

headaches installing libapreq2 on a 64 bit machine that had both =
32 and 64=20
bit libs installed.  I had to uninstall the offending 32 bit =
libs=20
(which I didn't need).

Do they have a similar=20
setup?

Dimitri


On Fri, Oct 30, 2009 at 12:28 PM, =
Sin class=3DApple-converted-space> < =
href=3D"mailto:sinister@gmail.com">sinister@gmail.com>
=20
class=3DApple-converted-space> wrote:

style=3D"PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; =
BORDER-LEFT: rgb(204,204,204) 1px solid">pkg_add=20
-r just goes to a package repository and gets a package version =
thats=20
allready complied for your distribution.   So you can't =
build your=20
options.

However this apreq2.12 issue is interesting. =
  I=20
was going to try this again.   I went to build this port =
but make=20
errored out with:

===3D>  libapreq2-2.12_1 : =
Error=20
from  href=3D"http://bsd.apache.mk" target=3D_blank>bsd.apache.mk. =
apache13 is=20
installed (or APACHE_PORT is defined) and port requires =
2.0+.
***=20
Error code 1


But if you look at the port it says=20
apache-1.3.41_1 is the build and run dependency.  So it =
should of=20
built the port (because I just happen to have apache 1.3 =
installed ).=20
  I'm wondering if all the times I tried to build Apache2.x =
with=20
mod_perl2 the application couldn't interface with it because of =
a=20
missing dependency.


I'm not a BSD expert but it looks =
like=20
this port needs updating.   Here's the description in=20
ports:



Port:   libapreq2-2.12_1
Path: =
 =20
/usr/ports/www/libapreq2
Info:   Generic Apache2 Request =

Library
Maint:   =
href=3D"mailto:skv@FreeBSD.org">skv@FreeBSD.org

B-deps:=20
apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 =
expat-2.0.1=20
gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 =
m4-1.4.13,1=20
perl-5.8.9_3

R-deps: apache-1.3.41_1 expat-2.0.1=20
perl-5.8.9_3
WWW:     href=3D"http://httpd.apache.org/apreq/"=20
=
target=3D_blank>http://httpd.apache.org/apreq/



Port:=20
  p5-libapreq2-2.12_1
Path:  =20
/usr/ports/www/p5-libapreq2
Info:   Generic Apache2 =
Request=20
Library
Maint:   =
href=3D"mailto:skv@FreeBSD.org">skv@FreeBSD.org

B-deps:=20
apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 =
expat-2.0.1=20
gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 =
m4-1.4.13,1=20
mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903 =
p5-ExtUtils-XSBuilder-0.28_1=20
p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76=20
perl-5.8.9_3

R-deps: apache-1.3.41_1 expat-2.0.1=20
mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903 =
p5-ExtUtils-XSBuilder-0.28_1=20
p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76=20
perl-5.8.9_3
WWW:     href=3D"http://httpd.apache.org/apreq/"=20
=
target=3D_blank>http://httpd.apache.org/apreq/


-----=20
Original Message ----- From: "Foo JH" < href=3D"mailto:jhfoo-ml@extracktor.com"=20
target=3D_blank>jhfoo-ml@extracktor.com>
To: "Adam =
Prime" < href=3D"mailto:adam.prime@utoronto.ca"=20
target=3D_blank>adam.prime@utoronto.ca>
Cc: "Joe =
Niederberger"=20
< target=3D_blank>jniederberger@comcast.net>; "mod_perl =
list" < href=3D"mailto:modperl@perl.apache.org"=20
target=3D_blank>modperl@perl.apache.org>
Sent: Friday, =
October=20
30, 2009 3:15 AM



Subject: Re: FreeBSD 7.2, mod_perl2 &=20
Apache2::Cookie (libapreq2)



style=3D"PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; =
BORDER-LEFT: rgb(204,204,204) 1px solid">Just=20
a thought: is install ap22 + mp2 + libapreq2 via pkg_add -r an =
option?=20
That's what I normally do these days.


Adam Prime =
wrote:

style=3D"PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; =
BORDER-LEFT: rgb(204,204,204) 1px solid">You=20
guys might want to take a look at this thread on =
apreq-dev

=
href=3D"http://marc.info/?t=3D124207659800007&r=3D1& w=3D2"=20
=
target=3D_blank>http://marc.info/?t=3D124207659800007&r= 3D1&w=3D2=


Specifically=20
the last couple of posts from pgollucci (who is a freebsd, =
and=20
mod_perl committer).  If you can't get apreq2.12 to =
work, try=20
2.08.

Adam




Joe Niederberger =
wrote:

style=3D"PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; =
BORDER-LEFT: rgb(204,204,204) 1px solid">How=20
do I find out what *all* the special options needed=20
are?

Thanks,
Joe N.

----- Original =
Message -----=20
From: < target=3D_blank>glenn@gallien.net>
To: "mod_perl =
list"=20
< target=3D_blank>modperl@perl.apache.org>
Sent: =
Thursday,=20
October 29, 2009 12:14 PM
Subject: Re: FreeBSD 7.2, =
mod_perl2=20
& Apache2::Cookie (libapreq2)



style=3D"PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; =
BORDER-LEFT: rgb(204,204,204) 1px solid">I've=20
been using apache2/mod_perl2 on FreeBSD for years. =
Currently=20
using 6.3 and 7.2. Installing from ports should work =
fine, but I=20
prefer to install separate versions of apache2 and =
mod_perl2=20
from source. Haven't had a problem installing either of =
those in=20
sometime. Installing libapreq2 on FreeBSD requires some =
special=20
options, like passing --with-expat=3D/usr/local to =
configure and=20
using=20
=
gmake.

-Glenn


R>


SPAN> =
class=3DApple-interchange-newline>
TE>

------=_NextPart_000_0067_01CA5F4C.DF202720--

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 11.11.2009 02:41:14 von Foo JH

Hello Joe,

Do you think you can post the changes that need to be made here, for us
to reference when we hit the same problem?

Thanks.

Joe Niederberger wrote:
> Thanks to everyone who contributed their insights to this thread - I
> did get in touch with Mr. Galucci - and he did help straighten out
> my installation. The main problem here was some remnants of Apache2
> were still in the file system and lib pointers were not set correctly
> during
> the install and so things didn't link up properly.
>
> Thanks again,
> Joe Niederberger
>
> ----- Original Message -----
> *From:* mackenna@animalhead.com
> *To:* Sin
> *Cc:* metacyclic@gmail.com ;
> mod_perl list
> *Sent:* Friday, October 30, 2009 11:56 AM
> *Subject:* Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
> The man you want at the FreeBSD lists is Philip M. Gollucci.
> He maintains libapreq2 in the ports collection, and was very
> helpful to me when I was trying to get the module to build,
> earlier this year.
>
> Good Luck and please report your results to this list when this is
> settled,
> cmac
>
>
> On Oct 30, 2009, at 9:44 AM, Sin wrote:
>
>> When I build from ports the " make config " usually brings up a
>> window that has options for both 32 bit and 64 bit. If I had to
>> guess I'd say its the same Makefile and source code that builds
>> the binary files. Or in your case a 64 bit bin file. But
>> honestly I really don't know, we should steer this thread over to
>> the FreeBSD mailling lists. Perhaps its just a matter of
>> pointing this out to a maintainer or the governing group at the
>> FreeBSD mailling list people. Maybe they know the next step?
>>
>> ----- Original Message -----
>> *From:* metacyclic@gmail.com
>> *To:* Sin
>> *Cc:* Foo JH ; Adam Prime
>> ; Joe Niederberger
>> ; mod_perl list
>>
>> *Sent:* Friday, October 30, 2009 12:36 PM
>> *Subject:* Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie
>> (libapreq2)
>>
>> This may be completely unrelated, but I had similar headaches
>> installing libapreq2 on a 64 bit machine that had both 32 and
>> 64 bit libs installed. I had to uninstall the offending 32
>> bit libs (which I didn't need).
>>
>> Do they have a similar setup?
>>
>> Dimitri
>>
>> On Fri, Oct 30, 2009 at 12:28 PM, Sin >> > wrote:
>>
>> pkg_add -r just goes to a package repository and gets a
>> package version thats allready complied for your
>> distribution. So you can't build your options.
>>
>> However this apreq2.12 issue is interesting. I was
>> going to try this again. I went to build this port but
>> make errored out with:
>>
>> ===> libapreq2-2.12_1 : Error from bsd.apache.mk
>> . apache13 is installed (or
>> APACHE_PORT is defined) and port requires 2.0+.
>> *** Error code 1
>>
>>
>> But if you look at the port it says apache-1.3.41_1 is
>> the build and run dependency. So it should of built the
>> port (because I just happen to have apache 1.3 installed
>> ). I'm wondering if all the times I tried to build
>> Apache2.x with mod_perl2 the application couldn't
>> interface with it because of a missing dependency.
>>
>>
>> I'm not a BSD expert but it looks like this port needs
>> updating. Here's the description in ports:
>>
>>
>>
>> Port: libapreq2-2.12_1
>> Path: /usr/ports/www/libapreq2
>> Info: Generic Apache2 Request Library
>> Maint: skv@FreeBSD.org
>>
>> B-deps: apache-1.3.41_1 autoconf-2.62
>> autoconf-wrapper-20071109 expat-2.0.1 gettext-0.17_1
>> gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1
>> perl-5.8.9_3
>>
>> R-deps: apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3
>> WWW: http://httpd.apache.org/apreq/
>>
>>
>>
>> Port: p5-libapreq2-2.12_1
>> Path: /usr/ports/www/p5-libapreq2
>> Info: Generic Apache2 Request Library
>> Maint: skv@FreeBSD.org
>>
>> B-deps: apache-1.3.41_1 autoconf-2.62
>> autoconf-wrapper-20071109 expat-2.0.1 gettext-0.17_1
>> gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1
>> mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903
>> p5-ExtUtils-XSBuilder-0.28_1 p5-Parse-RecDescent-1.962.2
>> p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3
>>
>> R-deps: apache-1.3.41_1 expat-2.0.1 mod_perl2-2.0.4_2,3
>> p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1
>> p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21
>> p5-version-0.76 perl-5.8.9_3
>> WWW: http://httpd.apache.org/apreq/
>>
>>
>> ----- Original Message ----- From: "Foo JH"
>> >
>> To: "Adam Prime" >> >
>> Cc: "Joe Niederberger" >> >; "mod_perl list"
>> >
>> Sent: Friday, October 30, 2009 3:15 AM
>>
>> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie
>> (libapreq2)
>>
>>
>> Just a thought: is install ap22 + mp2 + libapreq2 via
>> pkg_add -r an option? That's what I normally do these
>> days.
>>
>>
>> Adam Prime wrote:
>>
>> You guys might want to take a look at this thread
>> on apreq-dev
>>
>> http://marc.info/?t=124207659800007&r=1&w=2
>>
>>
>> Specifically the last couple of posts from
>> pgollucci (who is a freebsd, and mod_perl
>> committer). If you can't get apreq2.12 to work,
>> try 2.08.
>>
>> Adam
>>
>>
>>
>>
>> Joe Niederberger wrote:
>>
>> How do I find out what *all* the special
>> options needed are?
>>
>> Thanks,
>> Joe N.
>>
>> ----- Original Message ----- From:
>> >
>> To: "mod_perl list" >> >
>> Sent: Thursday, October 29, 2009 12:14 PM
>> Subject: Re: FreeBSD 7.2, mod_perl2 &
>> Apache2::Cookie (libapreq2)
>>
>>
>> I've been using apache2/mod_perl2 on
>> FreeBSD for years. Currently using 6.3
>> and 7.2. Installing from ports should
>> work fine, but I prefer to install
>> separate versions of apache2 and
>> mod_perl2 from source. Haven't had a
>> problem installing either of those in
>> sometime. Installing libapreq2 on FreeBSD
>> requires some special options, like
>> passing --with-expat=/usr/local to
>> configure and using gmake.
>>
>> -Glenn
>>
>>
>>
>>
>>
>>
>>
>>
>

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

am 11.11.2009 14:55:49 von Joe Niederberger

Well, I didn't make the changes myself - they were done by Datapipe staff
who
run a server for me. The route taken was extreme - they basically
de-installed all packages
and reinstalled. There may be better ways to go about it.

Joe N.

----- Original Message -----
From: "Foo JH"
To: "Joe Niederberger"
Cc: ; "mod_perl list"
Sent: Tuesday, November 10, 2009 8:41 PM
Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


> Hello Joe,
>
> Do you think you can post the changes that need to be made here, for us
> to reference when we hit the same problem?
>
> Thanks.